oneezy / monorepo

Turborepo + Sveltekit + PNPM + Tailwind + Histoire
https://oneezy-monorepo.vercel.app
MIT License
87 stars 9 forks source link

error when doing PNPM i #12

Open ghost opened 1 year ago

ghost commented 1 year ago

hi, why this error happens when doing pnpm i ?

I am just downloading your starter and doing npm i on mac, and it does not work

~/0-dev/offical/oneezy via πŸ€– v20.1.0 🐏 6GiB/8GiB | 2GiB/3GiB πŸ•™ 13:42:10 ❯ ni Scope: all 12 workspace projects Lockfile is up to date, resolution step is skipped Already up to date apps/docs preinstall$ pnpm exec inherit -u β”‚ Nothing needs to be updated. └─ Done in 825ms apps/site preinstall$ pnpm exec inherit -u β”‚ Nothing needs to be updated. └─ Done in 824ms . preinstall$ pnpm exec inherit -u β”‚ Nothing needs to be updated. └─ Done in 825ms apps/+app preinstall$ pnpm exec inherit -u β”‚ Nothing needs to be updated. └─ Done in 823ms apps/+app prepare$ svelte-kit sync β”‚ file:///Users/0-minuit-ax/0-dev/offical/oneezy/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.589svelte@3.59.1 β”‚ import { isCSSRequest } from 'vite'; β”‚ ^^^^^^^^^^^^ β”‚ SyntaxError: The requested module 'vite' does not provide an export named 'isCSSRequest' β”‚ at ModuleJob._instantiate (node:internal/modules/esm/module_job:122:21) β”‚ at async ModuleJob.run (node:internal/modules/esm/module_job:188:5) β”‚ Node.js v20.1.0 └─ Failed in 352ms at /Users/0-minuit-ax/0-dev/offical/oneezy/apps/+app