mattjennings / svelte-pixi

Create PixiJS apps with Svelte
https://svelte-pixi.com
MIT License
112 stars 15 forks source link

ERROR: The requested module 'vite' does not provide an export named 'isCSSRequest' #40

Open heliosnarcissus opened 1 month ago

heliosnarcissus commented 1 month ago

Hello Im trying to run the svelte-kit example but getting this error after I install the dependencies via pnpm


error when starting dev server:
file:///Users/me/Projects/pixijs/mattjennings/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.589_svelte@4.2.16_vite@3.2.10/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:6
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:124:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
 ELIFECYCLE  Command failed with exit code 1.```

How should I fix this?