vue-html-to-paper icon indicating copy to clipboard operation
vue-html-to-paper copied to clipboard

Module parse failed: Unexpected token, when run nuxt build

Open hasanmubarok9 opened this issue 3 years ago • 7 comments

I am using this dependency in my current nuxt project. I've never had this problem before, but the last time I did a build, there was an error like this Screen Shot 2021-06-28 at 17 57 03 It seems to have something to do with compatibility issues with optional chaining doesn't it?, and it suggested adding loader configurations, I've tried adding configs in babelrc, as well as in nuxt.config.js, but nothing works, I suspect it's related to node version, but after I upgrade my node version to the latest one, this problem still appears,

please help

hasanmubarok9 avatar Jun 28 '21 11:06 hasanmubarok9

Since some days, i'm also facing the same issue... i haven't made any update on this project so i'm suprised. image

Blair2004 avatar Jun 28 '21 16:06 Blair2004

Me too ....

image

coolpixel avatar Jun 28 '21 20:06 coolpixel

I've downgraded to version 1.3.0 and it worked.

Blair2004 avatar Jun 29 '21 01:06 Blair2004

i face the same error Capture d’écran 2021-06-29 032518

seydouromeo avatar Jun 29 '21 03:06 seydouromeo

Hi please try v1.4.3 thanks.

jofftiquez avatar Jun 29 '21 04:06 jofftiquez

Hi please try v1.4.3 thanks.

when i try v1.4.3, i get this Capture d’écran 2021-06-30 035700

seydouromeo avatar Jun 30 '21 03:06 seydouromeo

Hi ! can someone help me to find a solution ?

seydouromeo avatar Jul 12 '21 07:07 seydouromeo