You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixes#52970
Yarn 3 has removed the "--force" flag. This can cause issues with building the Next.js repository if Yarn 3 is activated on a development machine (specifically the postinstall script "install-native.mjs"). Using pnpm as the package manager fixes this issue.
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.
Verify canary release
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP Fri Jan 27 02:56:13 UTC 2023 Binaries: Node: 18.17.0 npm: 9.6.7 Yarn: N/A pnpm: 7.24.3 Relevant Packages: next: 13.4.10 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: N/A Next.js Config: output: N/A
Which area(s) of Next.js are affected? (leave empty if unsure)
Package manager (npm, pnpm, Yarn), SWC transpilation
Link to the code that reproduces this issue or a replay of the bug
https://github.com/vercel/next.js
To Reproduce
yarn set version latest
vercel/next.js
respositorypnpm install
, or if dependencies are already installed, runpnpm postinstall
Describe the Bug
Script exits with the following error:
Expected Behavior
Script installs the @next/swc binary packages
Which browser are you using? (if relevant)
N/A
How are you deploying your application? (if relevant)
N/A
The text was updated successfully, but these errors were encountered: