Skip to content
Discussion options

You must be logged in to vote

You should not need to add rolldown, picomatch, etc. to the app one by one. In vite@8.1.4 those are dependencies of Vite itself, so this looks like a Yarn PnP resolution/compatibility issue rather than missing peer dependencies in your Vue app.

The practical workaround is to run this scaffold with the node-modules linker for now:

yarn config set nodeLinker node-modules
rm -f .pnp.cjs .pnp.loader.mjs
rm -rf node_modules .yarn/cache
yarn install
yarn dev

If you want to stay on PnP, use packageExtensions for the package Yarn reports as making the undeclared access, but manually installing every missing transitive dependency is the wrong direction.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by white-gecko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants