-
-
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
vue create node under v8.10.0: Error: Failed to resolve plugin: @vue/cli-service #1396
Comments
Can confirm this happening in beta.12 and above. Beta.11 works fine |
Can confirm this happening in beta .12 and above too. |
Are you on windows 10? I think I heard a couple of people report problems with 10 |
@LinusBorg i'm on win10 with 3.0.0-beta.14 and this is happening |
Happening on macOS High Sierra 10.13.4 with 3.0.0-beta.14. |
Happening for me on Win 7 with 3.0.0-beta.14 |
I'm on RHEL7 |
Me too, happening on macOS High Sierra 10.13.4 with 3.0.0-beta.14. |
happening with 3.0.0-beta.14. |
😆 a temporary solution maybe:
|
The same issue:
|
@zhangbobell beta.14 still not work on Windows... |
If you can, please try upgrading to node 8.9.x or newer and report back if it works for you. |
Not work |
@mashirozx I means you could totally remove vue-cli beta.14 and install beta.11, then create project, finally you could upgrade from beta.11 to beta.14 😄 |
@mashirozx Could you try node 8.11.2 please? |
@Akryum I just updated node from 8.9.4 to 8.11.2 and it works in this version of node. I first tried with npm 5.6.0 (which comes with 8.9.4 – it works) and even with 6.1.0 it works. |
@zigomir So it worked with node 8.9.4 for you? |
@Akryum no, it doesn't work in 8.9.4. |
Ok. Also npm shouldn't be the cause of the issue. |
It works in 8.10.0 too. Looking at https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli/lib/util/module.js#L4 and https://nodejs.org/en/blog/release/v8.10.0/ (search for |
@Akryum Yes, Node v8.11.2 works 👍 |
i have same problem on node 9.2.1 and vue-cli v3.0.0-beta.15 |
then open a new issue. this one is outdated and closed. |
Version
3.0.0-beta.14
Reproduction link
https://github.com/vuejs/vue-cli
Steps to reproduce
npm i -g @vue/cli
oryarn add global @vue/cli
.Then run
vue create <project-name>
and select default settings.What is expected?
Command to scaffold project and install dependencies.
What is actually happening?
Command creates
package.json
,package-lock.json
files and installs some (or all?) dependencies intonode_modules
dir, but doesn't scaffold any other files.It fails with error:
The text was updated successfully, but these errors were encountered: