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

[BUG] Stuck at yarn build when using latest yarn pnp #34794

Closed
1 task done
zigang93 opened this issue Feb 25, 2022 · 4 comments
Closed
1 task done

[BUG] Stuck at yarn build when using latest yarn pnp #34794

zigang93 opened this issue Feb 25, 2022 · 4 comments
Labels
bug Issue was opened via the bug report template.

Comments

@zigang93
Copy link

Verify canary release

  • I verified that the issue exists in Next.js canary release

Provide environment information

    Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101
    Binaries:
      Node: 16.13.2
      npm: 8.1.2
      Yarn: 3.2.0
      pnpm: N/A
    Relevant packages:
      next: 12.1.0
      react: 17.0.2
      react-dom: 17.0.2

What browser are you using? (if relevant)

Chrome

How are you deploying your application? (if relevant)

No response

Describe the Bug

with the latest release of yarn berry v3.2.0, yarn build seem like stuck forever at info - Checking validity of types..

here is my reproduce repo

Expected Behavior

Expect yarn build to work well.

To Reproduce

here is my reproduce repo
run yarn install first
then yarn build

@zigang93 zigang93 added the bug Issue was opened via the bug report template. label Feb 25, 2022
@zigang93 zigang93 changed the title stuck at yarn build when using latest yarn pnp [BUG] Stuck at yarn build when using latest yarn pnp Feb 25, 2022
@ijjk
Copy link
Member

ijjk commented Feb 25, 2022

Hi, updating to Node.js to >= v16.14 should resolve this, related #34688 (comment) we are investigating adding a proper error for this with the latest Yarn berry version.

@zigang93
Copy link
Author

@ijjk solved with node 16.14 version

@pranayk2610
Copy link

Had the same problem in dockerfile using latest yarn version, thanks

@github-actions
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

3 participants