0👍
Even I got the same error- A
complete log of this run can be found in:
The problem is with the port number, go to package.json
file and change the port number to anything you want, say 8000
. For example:
"scripts": {
"build": "webpack --config webpack.prod.js --progress",
"watch": "npm run build -- --watch",
"server": "webpack-dev-server --inline --progress --port 8000 --content-base src",
"start": "npm run server"
}
Earlier the port number was 3000
, and on npm start
different application use to render on port 3000
so for my new application I gave port number 8000
. Now I can have two different application on different ports (localhost:3000 and localhost:8000) without getting error.
- [Vuejs]-Vuejs Fetch Request returns data but attributes assignments don't work
- [Vuejs]-'Vue.js' Errors in communicating between parent and children
Source:stackexchange.com