vue-manage-system npm run dev报错

mfuanj7w  于 6个月前  发布在  其他
关注(0)|答案(1)|浏览(71)

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)

ws51t4hk

ws51t4hk1#

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

相关问题