Cannot read property 'endsWith' of undefined #521
Unanswered
lorenzozozo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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