Vite 4 + pnpm
?
#543
Answered
by
atk
virtuoushub
asked this question in
Q&A
Vite 4 + `pnpm`?
#543
-
Is If I try upgrading to ...
devDependencies:
- vite 3.2.5
+ vite 4.0.1
ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
.
└─┬ solid-start 0.2.7
├── ✕ unmet peer vite@^3.0.4: found 4.0.1
├─┬ @vinxi/vite-plugin-inspect 0.6.27
│ └── ✕ unmet peer vite@^3.0.0: found 4.0.1
└─┬ vite-plugin-inspect 0.6.1
└── ✕ unmet peer vite@^3.0.0: found 4.0.1
hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project. If I take the hint and add "strict-peer-dependencies=false" to an .npmrc file at the root of your project; or add ...
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"vite": "4"
}
}
}
... to the However, at runtime the hackernews demo does not behave as expected with vite@4+:
repro repo/stackblitz: https://stackblitz.com/github/virtuoushub/solid-start-vite-4-and-pnpm-repro?file=package.json%3AL13 |
Beta Was this translation helpful? Give feedback.
Answered by
atk
Dec 17, 2022
Replies: 1 comment 1 reply
-
There's a known issue with vite 4.0.1. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
virtuoushub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a known issue with vite 4.0.1.