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
✘ [ERROR] The entry point "mock/table.ts.timestamp-1710847630001.mjs" cannot be marked as external
Error: Build failed with 1 error:
error: The entry point "mock/table.ts.timestamp-1710847630001.mjs" cannot be marked as external
at failureErrorWithLog (/Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:1651:15)
at /Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:1059:25
at runOnEndCallbacks (/Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:1486:45)
at buildResponseToResult (/Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:1057:7)
at /Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:1086:16
at responseCallbacks.<computed> (/Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:704:9)
at handleIncomingPacket (/Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:764:9)
at Socket.readFromStdout (/Users/sun/Code/Vue/WebDevPractice/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:680:7)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12) {
errors: [Getter/Setter],
warnings: [Getter/Setter]
I cannot reproduce this. The code provided in your "Minimal reproduction code" does nothing (do I need to build something?, must this be run in a vite project?, etc.). Please read how to create a minimal, reproducible Example or Wtf is a minimum reproduction?.
Additionally, you might want to provide a Stackblitz link. This way we simply need to click a link to help you.
Pre-Checks
Describe the bug
当我通过pnpm run dev 启动项目时,偶尔(大概率)会报错,但是项目能正常运行起来
Minimal reproduction code
/mock/table.ts
Additional Context
No response
Environment Info
Which module system do you use?
Used Package Manager
pnpm
The text was updated successfully, but these errors were encountered: