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

npm run dev报错 #362

Open
meng250 opened this issue Feb 28, 2023 · 1 comment
Open

npm run dev报错 #362

meng250 opened this issue Feb 28, 2023 · 1 comment

Comments

@meng250
Copy link

meng250 commented Feb 28, 2023

npm i 后 npm run dev报错
file:///Users/fengmeng/vue-manage-system/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/modules/esm/translators.js:81:18)
at async link (internal/modules/esm/module_job.js:37:21)

@willcom95
Copy link

亲测,用npm报错,改用yarn安装依赖可以正常运行

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