-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
-
-
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
Failed at npm run dev
#714
Comments
+1 |
++++++11111111111111111111111111 |
yarn remove webpack-dev-server OK! |
Yeah, it is a webpack 2.9.10 issue. Downgrading this will help. |
@axtho Actually there has no |
Right. That is correct. |
yarn remove webpack-dev-server 亲测可以 |
2.10.1 should fix it too. |
2.11.0无此Bug |
hi I still encounter this even after changing the webpack-dev-server to ^2.9.7 i just install vue-cli and this is my package json
how do i fix this? |
@rgalaxy That's not the problem related to this issue; I think It's simply because you haven't run |
change the config >index.js port: 8080 to other port eg, port: 8081 |
npm uninstall webpack-dev-server It works perfectly!💝 |
@slwzero thanks, in 2019 and it's still failing |
Same. --unsafe-perm seemed. to fix. |
npm remove webpack-dev-server this solves the whole problem |
thank you, it works for me |
help me |
|
thank you it works
…On Sun, Apr 7, 2019 at 10:24 AM mohammad nazari ***@***.***> wrote:
rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
npm install
npm add ***@***.*** --dev
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#714 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIHb5FEHLCXEK19MhwzPamRu3E6DSHd_ks5vebldgaJpZM4RXkL_>
.
|
okee ^^ |
npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: cannot run node project suddenly |
我的还是不行 |
npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: The above method still doesn't solve my problem~ |
For those people who encounter the following error messages:
It seems caused by a known issue on
webpack-dev-server@2.10.0
. While the generated vue project is requiringwebpack-dev-server@^2.9.1
which may install the broken version2.10.0
that causes the error.You can now temporary fix it by assigning the version of webpack-dev-server to 2.9.7 in your
package.json
like this:"webpack-dev-server": "2.9.7"
.The text was updated successfully, but these errors were encountered: