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 xxx\my-vite-app\vite.config.js
error when starting dev server:
file:///xxx/my-vite-app/vite.config.js.timestamp-1690350779045-b1db730d863d5.mjs:4
import styleImport from "file:///xxx/my-vite-app/node_modules/.store/[email protected]/node_modules/vite-plugin-style-import/dist/index.mjs";
^^^^^^^^^^^
SyntaxError: The requested module 'file:///xxx/my-vite-app/node_modules/.store/[email protected]/node_modules/vite-plugin-style-import/dist/index.mjs' does not provide an export named 'default'
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:533:24)
at async loadConfigFromBundledFile (file:///xxx/my-vite-app/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:66181:21)
at async loadConfigFromFile (file:///xxx/my-vite-app/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:66032:28)
at async resolveConfig (file:///xxx/my-vite-app/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:65628:28)
at async _createServer (file:///xxx/my-vite-app/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:64905:20)
at async CAC.<anonymous> (file:///xxx/my-vite-app/node_modules/.store/[email protected]/node_modules/vite/dist/node/cli.js:743:24)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Code filename:/vite.config.js:
Code filename:/package.json:
Error:
Beta Was this translation helpful? Give feedback.
All reactions