Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while trying to run using command: npm run serve #1

Open
manojadams opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@manojadams
Copy link

Getting error while trying to run with command: npm run seve

> [email protected] serve /exp/chatbot-front-end
> vue-cli-service serve

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
 INFO  Starting development server...
 ERROR  TypeError: Cannot read property 'upgrade' of undefined
TypeError: Cannot read property 'upgrade' of undefined
    at Server.<anonymous> (/Users/mbaruah/projects/ping/exp/chatbot-front-end/node_modules/webpack-dev-server/lib/Server.js:1937:26)
    at Array.forEach (<anonymous>)
    at Server.initialize (/Users/mbaruah/projects/ping/exp/chatbot-front-end/node_modules/webpack-dev-server/lib/Server.js:1932:29)
    at Server.start (/Users/mbaruah/projects/ping/exp/chatbot-front-end/node_modules/webpack-dev-server/lib/Server.js:3356:16)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/mbaruah/.npm/_logs/2024-10-30T09_17_20_861Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant