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

Error while npm build #2

Closed
bbsoosi opened this issue Apr 27, 2024 · 2 comments
Closed

Error while npm build #2

bbsoosi opened this issue Apr 27, 2024 · 2 comments
Assignees

Comments

@bbsoosi
Copy link

bbsoosi commented Apr 27, 2024

I tried out to build the project.
I have installed node 12.22.9, npm 8.5.1
I got an error on npm run build:

$ npm run preview

[email protected] preview
vite preview --host

file:///go-e-Charger-Web-App/node_modules/vite/bin/vite.js:7
await import('source-map-support').then((r) => r.default.install())
^^^^^

SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/

Thank you.

@RoodyCode
Copy link
Owner

Hi there,

Try upgrading your Node.js to at least version 14.x.x or higher.

@RoodyCode RoodyCode self-assigned this May 2, 2024
@bbsoosi
Copy link
Author

bbsoosi commented May 9, 2024

works now, thanks 👍

@bbsoosi bbsoosi closed this as completed May 9, 2024
@RoodyCode RoodyCode pinned this issue May 24, 2024
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

2 participants