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
one package (vitest) also defines "@types/node": "^20.16.3"
the root package overrides all "vite" with "^5.2.0"
Vite with explicit @types/node in vitest package is stored in node_modules/.pnpm/vite@5.4.2_@types+node@20.16.3_terser@5.22.0/node_modules/vite/dist/node/index
VIte in another package (vite-node) is stored in /node_modules/.pnpm/vite@5.4.2_@types+node@22.5.2_terser@5.22.0/node_modules/vite/dist/node/index
Note that vite-node's "vite" resolves to @types+node@22.5.2 which is actually not even supported by Vite's package.json:
Last pnpm version that worked
9.7.0 (didn't check 9.8.0)
pnpm version
9.9.0
Code to reproduce the issue
renovate commit: vitest-dev/vitest@
9b25553
(#6360)"@types/node": "^20.16.3"
"vite"
with"^5.2.0"
Vite with explicit
@types/node
invitest
package is stored innode_modules/.pnpm/vite@5.4.2_@types+node@20.16.3_terser@5.22.0/node_modules/vite/dist/node/index
VIte in another package (vite-node) is stored in
/node_modules/.pnpm/vite@5.4.2_@types+node@22.5.2_terser@5.22.0/node_modules/vite/dist/node/index
Note that vite-node's "vite" resolves to
@types+node@22.5.2
which is actually not even supported by Vite's package.json:Expected behavior
Both vite packages resolve to the same path.
Actual behavior
vite packages resolve to different paths.
Additional information
No response
Node.js version
20.12.2
Operating System
macOS
The text was updated successfully, but these errors were encountered: