-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
npm run dev error #332
Comments
the same as me |
The issue should be opened in the template reproducing the error and with more information about the system it was run with |
I think its a bug,when i cancel the eslint and npm run dev,it remind me i show install the eslint-friendly-formatter,last time i ignore the message so i dont konw what happend,but i think the module show be auto npm rather than manual. |
@onlyfzz actually,i had resloved it just now. |
I have the same issue . and i check for var eslintFriendlyFormatter in build/webpack.base.conf.js . there is no such variable. thanks |
check if port 8080 used by another program,I just resolved this problem by changing port number |
npm ERR! Windows_NT 10.0.15063 npm ERR! Please include the following file with any support request: I have been trying to run my vuejs/cli but i can't start my server |
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
npm ERR! A complete log of this run can be found in: please some one help. |
npm install webpack-dev-server@2.9.7 --save-dev run this command in your project directory. i hope this might help. |
@matan-modai i googled "webpack template vuejs" and found it on Github https://github.com/vuejs-templates/webpack. then in Issues section look at this issue "Bug with webpack-dev-server 2.10.0 - Unable to start webpack-dev-server" and there is a solution mentioned. |
hi @nomantufail i tried to run your command and its still have the same error
npm ERR! A complete log of this run can be found in: you know what is wrong? |
@rgalaxy try running this command first : npm install --save-dev cross-env |
change the config >index.js port: 8080 to other port eg, port: 8081 |
npm install --save-dev cross-env Thanks, this save my day, it's works. |
Tenia el mismo problema, pero ninguna sugerencia soluciono mi problema, a quien le pase lo mismo, esto fue lo que me ayudo: como mi proyecto no esta creado en el directorio raíz del sistema operativo, si no en otro disco, resulta que se necesita permisos para acceder a configuraciones relacionadas a levantar el servidor, por lo tanto solo tuve que ejecutar el comando "npm run serve" con permisos y todo funciono correctamente. En mi caso es sistema operativo LinuxMint basado en ubuntu 18.04 todo se soluciono con "sudo npm run serve" |
run
before run
command |
I had this issue and I cleared my npm cache with remove node modules folder then
|
when i input npm run dev,these errors appear.
But my npm and node's version are satisfy condition. npm-4.1.2 node-6.7.0.
why the server.js cant run
The text was updated successfully, but these errors were encountered: