Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The requested module 'vite' does not provide an export named 'isCSSRequest' #9

Open
tirumal-rao opened this issue Jan 4, 2023 · 5 comments

Comments

@tirumal-rao
Copy link

tirumal-rao commented Jan 4, 2023

Getting following error when pnpm install

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 507ms
apps/site preinstall$ pnpm exec inherit -u
│ Nothing needs to be updated.
└─ Done in 502ms
. preinstall$ pnpm exec inherit -u
│ Nothing needs to be updated.
└─ Done in 500ms
apps/+app preinstall$ pnpm exec inherit -u
│ Nothing needs to be updated.
└─ Done in 501ms
. postinstall$ pnpm exec ./.sh/symlinks.sh
└─ Running...
apps/+app prepare$ svelte-kit sync
│ file:///Users/weye/workspace/my-app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/exports/vite/d
│ 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:123:21)
│     at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
│     at async Promise.all (index 0)
│     at async ESMLoader.import (node:internal/modules/esm/loader:528:24)
│     at async load_config (file:///Users/weye/workspace/my-app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@svelt
│     at async file:///Users/weye/workspace/my-app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/c
│ Node.js v18.8.0
└─ Failed in 199ms at /Users/weye/workspace/my-app/apps/+app
apps/site prepare$ svelte-kit sync
└─ Running...
apps/docs prepare$ svelte-kit sync
└─ Running...
 ELIFECYCLE  Command failed with exit code 1.
@oneezy
Copy link
Owner

oneezy commented Jan 19, 2023

Updates are coming soon

@tirumal-rao
Copy link
Author

tirumal-rao commented Feb 3, 2023

What's so funny about this issue, Joseph?

@magick93
Copy link

Any update to this issue? I'm having the same problem.

@magick93
Copy link

Hi @oneezy - I managed to fix this by updated svelte and vite. However, I did this simply by updating every occurrences. I'm aware than some of these instances are derived / generated.

If you let me know where I should make this change I'll do a PR.

Thanks

@jeblister
Copy link

Hi @oneezy - I got the same error and don't find a fix on Vite repo here : vitejs/vite#11190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants