We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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镜像,但是一直不成功 在本地使用pnpm run dev是可以正常运行的,构建docker一直卡在RUN pnpm build这里提示我MODULE_NOT_FOUND
RUN pnpm build > [email protected] build /app > nuxi build node:internal/modules/cjs/loader:1143 throw err; ^ Error: Cannot find module '/app/node_modules/nuxt/bin/nuxt.mjs' at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) at Module._load (node:internal/modules/cjs/loader:981:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.20.3 ELIFECYCLE Command failed with exit code 1. ------ Dockerfile:11 -------------------- 9 | 10 | COPY . . 11 | >>> RUN pnpm build 12 | 13 | FROM $NODE_VERSION AS production-stage -------------------- ERROR: failed to solve: process "/bin/sh -c pnpm build" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请教个新手问题😂,我想构建成docker镜像,但是一直不成功
在本地使用pnpm run dev是可以正常运行的,构建docker一直卡在RUN pnpm build这里提示我MODULE_NOT_FOUND
The text was updated successfully, but these errors were encountered: