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

with-docker template run pnpm build again will not work #9622

Open
1 task done
semmywong opened this issue Dec 16, 2024 · 0 comments
Open
1 task done

with-docker template run pnpm build again will not work #9622

semmywong opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
area: examples Improvements or additions to examples

Comments

@semmywong
Copy link

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/semmywong/next-cms

Which canary version will you have in your reproduction?

turbo 2.3.3

Enviroment information

No response

Expected behavior

work well

Actual behavior

PS D:\WorkStudio\next-cms> pnpm build

> [email protected] build D:\WorkStudio\next-cms
> turbo run build

turbo 2.3.3

• Packages in scope: @repo/eslint-config, @repo/jest-presets, @repo/logger, @repo/typescript-config, @repo/ui, api, web
• Running build in 7 packages
• Remote caching disabled
web:build: cache miss, executing 8be536b5cb5ea726
@repo/logger:build: cache hit, replaying logs dd80f8c6872717e3
@repo/logger:build:
@repo/logger:build: > @repo/[email protected] build D:\WorkStudio\next-cms\packages\logger
@repo/logger:build: > tsc
@repo/logger:build:
api:build: cache hit, replaying logs bcc3d33aea9ec020
api:build:
api:build: > [email protected] build D:\WorkStudio\next-cms\apps\api
api:build: > tsc
api:build:
web:build: 
web:build: > [email protected] build D:\WorkStudio\next-cms\apps\web
web:build: > next build
web:build:
web:build:   ▲ Next.js 14.2.20
web:build:   - Experiments (use with caution):
web:build:     · outputFileTracingRoot
web:build:
web:build:    Creating an optimized production build ...
web:build: node:internal/modules/cjs/loader:1147
web:build:   throw err;
web:build:   ^
web:build:
web:build: Error: Cannot find module 'D:\WorkStudio\next-cms\node_modules\.pnpm\[email protected][email protected][email protected][email protected]\node_modules\next\dist\compiled\jest-worker\processChild.js'
ain:135:12)
web:build:     at node:internal/main/run_main_module:28:49 {
web:build:   code: 'MODULE_NOT_FOUND',
web:build:   requireStack: []
web:build: }
web:build:
web:build: Node.js v20.11.0
web:build: Static worker exited with code: 1 and signal: null
web:build:  ELIFECYCLE  Command failed with exit code 1.
web:build: ERROR: command finished with error: command (D:\WorkStudio\next-cms\apps\web) C:\Program Files\nodejs\pnpm.cmd run build exited (1)
web#build: command (D:\WorkStudio\next-cms\apps\web) C:\Program Files\nodejs\pnpm.cmd run build exited (1)

 Tasks:    2 successful, 3 total
Cached:    2 cached, 3 total
  Time:    7.236s
Failed:    web#build

 ERROR  run failed: command  exited (1)
 ELIFECYCLE  Command failed with exit code 1.

To Reproduce

  1. pnpm dlx create-turbo@latest --example with-docker
  2. cd my-turborepo
  3. run pnpm build
  4. run pnpm build again

Additional context

No response

@semmywong semmywong added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage labels Dec 16, 2024
@chris-olszewski chris-olszewski added area: examples Improvements or additions to examples and removed kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage labels Dec 17, 2024
@anthonyshew anthonyshew self-assigned this Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: examples Improvements or additions to examples
Projects
None yet
Development

No branches or pull requests

3 participants