Closed C-Jeril closed 9 months ago
Please provide a minimal reproduction when opening issues.
Check https://vitejs.dev/guide/migration.html#rollup-4, where we added a comment about this:
If you are using TypeScript, make sure to set moduleResolution: 'bundler' (or node16/nodenext) as Rollup 4 requires it. Or you can set skipLibCheck: true instead.
Describe the bug
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './parseAst' is not defined by "exports" in D:\vite-project\nodemodules.pnpm\vite@5.0.2@types+node@18.15.11_less@4.2.0\node_modules\rollup\package.json imported from D:\vite-project\nodemodules.pnpm\vite@5.0.2@types+node@18.15.11_less@4.2.0\node_modules\vite\dist\node\cli.js
Reproduction
none
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations