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/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts
error when starting dev server:
TypeError: Cannot read property 'endsWith' of undefined
at configHtmlPlugin (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts:327:34)
at createVitePlugins (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts:580:20)
at vite_config_default (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts:657:14)
at loadConfigFromFile (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/chunks/dep-66eb515d.js:46271:59)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async resolveConfig (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/chunks/dep-66eb515d.js:45889:28)
at async createServer (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/chunks/dep-66eb515d.js:69132:20)
at async CAC. (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/cli.js:14037:24)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! schoolclient@0.0.1 dev: cross-env --max_old_space_size=4096 vite
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the schoolclient@0.0.1 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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
-
failed to load config from /Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts
error when starting dev server:
TypeError: Cannot read property 'endsWith' of undefined
at configHtmlPlugin (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts:327:34)
at createVitePlugins (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts:580:20)
at vite_config_default (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/vite.config.ts:657:14)
at loadConfigFromFile (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/chunks/dep-66eb515d.js:46271:59)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async resolveConfig (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/chunks/dep-66eb515d.js:45889:28)
at async createServer (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/chunks/dep-66eb515d.js:69132:20)
at async CAC. (/Users/lorenzo/WorkSpace/WebstormProjects/SchoolClient/node_modules/vite/dist/node/cli.js:14037:24)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! schoolclient@0.0.1 dev:
cross-env --max_old_space_size=4096 vite
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the schoolclient@0.0.1 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Beta Was this translation helpful? Give feedback.
All reactions