vbenjs / vben-admin-thin-next

vue-vben-admin-2.0 mini template.vue3,vite,typescript
https://vvbin.cn/thin/next
MIT License
2.06k stars 854 forks source link

docker中部署后,启动卡在启动页面 #45

Open MorphyR opened 3 years ago

MorphyR commented 3 years ago

描述 Bug

在docker中部署了代码,yarn dev后卡在启动页面,后台报如下错误

8:24:35 AM [vite] Internal server error: The service is no longer running
  Plugin: vite:esbuild
  File: /workspaces/vben-admin-thin-next-main/src/main.ts
      at /workspaces/vben-admin-thin-next-main/node_modules/esbuild/lib/main.js:1276:29
      at sendRequest (/workspaces/vben-admin-thin-next-main/node_modules/esbuild/lib/main.js:625:14)
      at start (/workspaces/vben-admin-thin-next-main/node_modules/esbuild/lib/main.js:1274:9)
      at Object.transform2 [as transform] (/workspaces/vben-admin-thin-next-main/node_modules/esbuild/lib/main.js:1324:5)
      at /workspaces/vben-admin-thin-next-main/node_modules/esbuild/lib/main.js:1920:55
      at new Promise (<anonymous>)
      at Object.transform (/workspaces/vben-admin-thin-next-main/node_modules/esbuild/lib/main.js:1920:14)
      at Object.transform (/workspaces/vben-admin-thin-next-main/node_modules/esbuild/lib/main.js:1751:62)
      at transformWithEsbuild (/workspaces/vben-admin-thin-next-main/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:22222:38)
      at async TransformContext.transform (/workspaces/vben-admin-thin-next-main/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:22271:32)
      at async Object.transform (/workspaces/vben-admin-thin-next-main/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:42396:30)
      at async doTransform (/workspaces/vben-admin-thin-next-main/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:56801:29) (x2)

系统信息