You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
failed to load config from /home/projects/vitejs-vite-p8bq7ek8/vite.config.js
error when starting dev server:
Error: Build failed with 3 errors:
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
at failureErrorWithLog (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:1466:15)
at eval (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:935:25)
at runOnEndCallbacks (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:1306:45)
at buildResponseToResult (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:933:7)
at eval (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:960:16)
at responseCallbacks. (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:612:9)
at handleIncomingPacket (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:667:12)
at Socket.readFromStdout (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:590:7)
at Socket.emit (node:events:30:10899)
at addChunk (node:internal/streams/readable:225:3685)
Describe the bug
npm install && npm run dev
added 256 packages in 36s
106 packages are looking for funding
run
npm fund
for details✘ [ERROR] Expected identifier but found "import"
✘ [ERROR] Expected identifier but found "import"
✘ [ERROR] Expected identifier but found "import"
failed to load config from /home/projects/vitejs-vite-p8bq7ek8/vite.config.js
error when starting dev server:
Error: Build failed with 3 errors:
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
at failureErrorWithLog (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:1466:15)
at eval (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:935:25)
at runOnEndCallbacks (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:1306:45)
at buildResponseToResult (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:933:7)
at eval (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:960:16)
at responseCallbacks. (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:612:9)
at handleIncomingPacket (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:667:12)
at Socket.readFromStdout (/home/projects/vitejs-vite-p8bq7ek8/node_modules/esbuild/lib/main.js:590:7)
at Socket.emit (node:events:30:10899)
at addChunk (node:internal/streams/readable:225:3685)
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-p8bq7ek8?file=README.md
Steps to reproduce
add a new project
automatically this error came
Expected behavior
the project should be run when create a new project but showing running commmand failed
Parity with Local
Screenshots
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: