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
SyntaxError: Unexpected token '?' #488
Comments
Same issue here on nuxt 2.15.7 and node v16.13.0 - not sure why it's requiring this dependency or not properly installing it. For now I found that downgrading @nuxt/image to 0.6.0 fixed this for me. |
same here. |
I have the same problem, but not happening locally, only when building on Vercel. Downgrading from |
Confirm issue Downgrading to |
Had this issue when deploying to Netlify using |
Having the same issue. |
Same, breaks on production build because we use npm audit fix in our build process. Is this problem caused by Nuxt 2 dragging its feet towards Nuxt 3 and therefore unable to fully support optional chaining (probably due to outdated packages like webpack 4)? |
This error caused by using If I replace Nuxt runs without errors, if I remove the optional operator. |
Updating node v12 to v14 helped me |
Please use Node.js >= 14 (16 LTS) |
I'm trying to add @nuxt/image to my project using yarn node version is v12.22.1, nuxt version 2.15.8
and I got these errors:
I've also tried to add ipx with the same results
The text was updated successfully, but these errors were encountered: