Next.js project doesn't work with Yarn 4.6.0 using Turbopack #74648
Labels
bug
Issue was opened via the bug report template.
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/GlittersIsGold/turboyarnext
To Reproduce
install yarn 4.6.0 -
npm install -g yarn@latest
check yarn version -
yarn -v
should output 4.6.0init next-app with yarn -
yarn create next-app turboyarnext
Follow the prompts, simply answer Yes to use Turbopack
cd turboyarnext && yarn && yarn dev
Current vs. Expected behavior
Expected to launch Next app via Turbopack & yarn dev, observed to Fatal Turbopack error, package not found.
Next package already exists in package.json
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030 Available memory (MB): 18432 Available CPU cores: 12 Binaries: Node: 20.14.0 npm: 10.7.0 Yarn: 4.6.0 pnpm: N/A Relevant Packages: next: 15.1.4 eslint-config-next: 15.1.4 react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
create-next-app
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: