4

I have a problem with vueJs webpack , i want to run in server , with command : npm run dev . Nothing happing just , a list of errors : enter image description here

1
  • 2
    You need to post the relevant error message directly in the question. That said, you actually posted the least helpful piece. You need to post the stack trace error that is located above what you've shown in the image. Commented May 13, 2017 at 13:07

4 Answers 4

3

You can use this in your command project

 # npm install
 # npm run serve
Sign up to request clarification or add additional context in comments.

Comments

0

I use webpack vue-cli

I code and run my vue apps on android tablet i too got the same log errors using npm run dev I think it is because of the platform i am running the app(android)

so i use

webpack-dev-server --inline --hot

This works for me.so try runningwebpack-dev-server --inline --hot command

Comments

0

This is what I did and it worked for me.

Just change the port number in the dev{} obj in the following file.

[your project folder]/config/index.js

By default, mine was set to 8080. Change it to something else.

Comments

0

Try running this command first

npm config set ignore-scripts false

And then rerun your command

npm run dev

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.