vite.config.js error when starting dev server
meecole
Posted on February 15, 2024
I ran this command "npm run dev" in vscode terminal window on my computer and I got this error "failed to load config from C:\Users\LBRBDA.LAPTOP-NC9VDIUG\CODE\react-porfolio\vite.config.js
error when starting dev server:
Error: spawn EPERM
at ChildProcess.spawn (node:internal/child_process:421:11)
at Object.spawn (node:child_process:761:9)
at ensureServiceIsRunning (C:\Users\LBRBDA.LAPTOP-NC9VDIUG\CODE\react-porfolio\node_modules\esbuild\lib\main.js:2163:29)
at build (C:\Users\LBRBDA.LAPTOP-NC9VDIUG\CODE\react-porfolio\node_modules\esbuild\lib\main.js:2047:26)
at bundleConfigFile (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:67989:26)
at loadConfigFromFile (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:67963:31)
at resolveConfig (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:67576:34)
at _createServer (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:64214:26)
at createServer (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/chunks/dep-Glf1enhJ.js:64211:12)
at CAC. (file:///C:/Users/LBRBDA.LAPTOP-NC9VDIUG/CODE/react-porfolio/node_modules/vite/dist/node/cli.js:762:30)". what could be the possible solution please?
Posted on February 15, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.