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
When I clone vite-ssg, install packages (npm install) & run npm run dev | pnpm run dev it throws the following error:
error TS2688: Cannot find type definition file for 'vite-plugin-pages/client'.
The file is in the program because:
Entry point of type library 'vite-plugin-pages/client' specified in compilerOptions
ERROR Error building /Users/jeffreyarts/repos/vite-ssg: RollupError: Failed to compile. Check the logs above. 2:55:55 PM
ERROR Failed to compile. Check the logs above. 2:55:55 PM
at error (node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)
at Object.error (node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:25351:20)
at Object.error (node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:24472:42)
at generateDtsFromTs (node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1834:30)
at Object.transform (node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1843:38)
at node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:25544:40
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Describe the bug
When I clone vite-ssg, install packages (
npm install
) & runnpm run dev
|pnpm run dev
it throws the following error:error TS2688: Cannot find type definition file for 'vite-plugin-pages/client'.
The file is in the program because:
Entry point of type library 'vite-plugin-pages/client' specified in compilerOptions
ERROR Error building /Users/jeffreyarts/repos/vite-ssg: RollupError: Failed to compile. Check the logs above. 2:55:55 PM
ERROR Failed to compile. Check the logs above. 2:55:55 PM
at error (node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)
at Object.error (node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:25351:20)
at Object.error (node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:24472:42)
at generateDtsFromTs (node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1834:30)
at Object.transform (node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1843:38)
at node_modules/unbuild/node_modules/rollup/dist/es/shared/node-entry.js:25544:40
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
ERROR Failed to compile. Check the logs above.
Reproduction
https://github.com/antfu-collective/vite-ssg/
System Info
Used Package Manager
npm
Validations
Contributions
The text was updated successfully, but these errors were encountered: