Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hasanmubarok9 opened this issue Jun 28, 2021 · 7 comments
Open

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

hasanmubarok9 opened this issue Jun 28, 2021 · 7 comments

Comments

@hasanmubarok9
Copy link

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
Copy link

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
Copy link

Me too ....

image

@Blair2004
Copy link

I've downgraded to version 1.3.0 and it worked.

@seydouromeo
Copy link

seydouromeo commented Jun 29, 2021

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

@jofftiquez
Copy link
Member

Hi please try v1.4.3 thanks.

@seydouromeo
Copy link

seydouromeo commented Jun 30, 2021

Hi please try v1.4.3 thanks.

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

@seydouromeo
Copy link

Hi ! can someone help me to find a solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants