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
failed to load config from /Users/levkaplunov/Desktop/projects/Resume/vite.config.ts
error when starting dev server:
TypeError: svgSpritePlugin is not a function
at file:///Users/levkaplunov/Desktop/projects/Resume/vite.config.ts.timestamp-1665731229538.mjs:16:5
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
at async loadConfigFromBundledFile (file:///Users/levkaplunov/Desktop/projects/Resume/node_modules/vite/dist/node/chunks/dep-db16f19c.js:63505:21)
at async loadConfigFromFile (file:///Users/levkaplunov/Desktop/projects/Resume/node_modules/vite/dist/node/chunks/dep-db16f19c.js:63400:28)
at async resolveConfig (file:///Users/levkaplunov/Desktop/projects/Resume/node_modules/vite/dist/node/chunks/dep-db16f19c.js:63017:28)
at async createServer (file:///Users/levkaplunov/Desktop/projects/Resume/node_modules/vite/dist/node/chunks/dep-db16f19c.js:62083:20)
at async CAC.<anonymous> (file:///Users/levkaplunov/Desktop/projects/Resume/node_modules/vite/dist/node/cli.js:700:24)
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
Hello, I have some problems with import. I get object instead of function
vite.config.ts
package.json
node version: 16, 18
console.log output
{ default: [Function: createPlugin] }
full error:
The text was updated successfully, but these errors were encountered: