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

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

Open
MorphyR opened this issue Nov 12, 2021 · 0 comments
Open

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

MorphyR opened this issue Nov 12, 2021 · 0 comments

Comments

@MorphyR
Copy link

MorphyR commented Nov 12, 2021

描述 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)

系统信息

  • 操作系统:
    使用vscode插件remote-container创建的nodejs16+typescriptdocker环境
  • Node 版本: v16.13.0
  • 包管理器 (npm/yarn/pnpm) 及其版本: yarn(1.22.15), nom(8.1.0)
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

1 participant