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
I cloned the project and installed node modules with yarn install and also setup db as indicated in setup md file but when i run yarn start i get strange error related to svelte kit and vite
muhammadusman in git on branch -> main > yarn start
> [email protected] dev
> svelte-kit dev
file:///Volumes/Work%20Space/cypresspratice/.yarn/__virtual__/@sveltejs-vite-plugin-svelte-virtual-84871d7e09/0/cache/@sveltejs-vite-plugin-svelte-npm-1.4.0-5b718c940b-a5bb66fbf3.zip/node_modules/@sveltejs/vite-plugin-svelte/dist/index.js:630
import { createFilter } from "vite";
^^^^^^^^^^^^
SyntaxError: Named export 'createFilter' not found. The requested module 'vite' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'vite';
const { createFilter } = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:409:24)
at async file:///Volumes/Work%20Space/cypresspratice/.yarn/__virtual__/@sveltejs-kit-virtual-ff9266991c/0/cache/@sveltejs-kit-npm-1.0.0-next.202-5e134529f8-d5dc997e20.zip/node_modules/@sveltejs/kit/dist/cli.js:838:19
Node.js v18.0.0
The text was updated successfully, but these errors were encountered:
I cloned the project and installed node modules with
yarn install
and also setup db as indicated in setup md file but when i runyarn start
i get strange error related to svelte kit and vitemuhammadusman in git on branch -> main > yarn start
Node.js v18.0.0
The text was updated successfully, but these errors were encountered: