-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
When building my project using Yarn with Node.js 23.0.0, I encountered the following error related to a missing TypeScript package. The build process works correctly with Node.js 22.9.0. Additionally, I also face a similar error when running yarn dlx @yarnpkg/sdks@latest. However, after clearing the cache and reinstalling dependencies on Node.js 22.9.0, everything works fine.
To reproduce
yarn install
yarn build (using tsup)
yarn dlx @yarnpkg/sdks@latest
-
I am using a monorepo structure with multiple workspaces.
-
The issue does not occur when using Node.js 22.9.0.
-
The build command I am using is: yarn workspaces foreach -Apt run build and yarn dlx @yarnpkg/sdks@latest
Environment
Ubuntu 24.04
Node.js version: 23.0.0
Yarn version: 4.5.1
TypeScript version: 5.6.3
Yarn workspaces
Additional context
No response



