mycurelabs / vue-html-to-paper

Vue mixin for paper printing html elements.
MIT License
298 stars 102 forks source link

Module parse failed: Unexpected token, when run nuxt build #86

Open hasanmubarok9 opened 3 years ago

hasanmubarok9 commented 3 years ago

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

Blair2004 commented 3 years ago

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

coolpixel commented 3 years ago

Me too ....

image

Blair2004 commented 3 years ago

I've downgraded to version 1.3.0 and it worked.

seydouromeo commented 3 years ago

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

jofftiquez commented 3 years ago

Hi please try v1.4.3 thanks.

seydouromeo commented 3 years ago

Hi please try v1.4.3 thanks.

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

seydouromeo commented 3 years ago

Hi ! can someone help me to find a solution ?