Skip to content

The project created has only three files. #3900

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

Closed
skillnull opened this issue Apr 27, 2019 · 3 comments
Closed

The project created has only three files. #3900

skillnull opened this issue Apr 27, 2019 · 3 comments

Comments

@skillnull
Copy link

Version

3.6.3

Environment info

Environment Info:

  System:
    OS: macOS Mojave 10.14.3
    CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
  Binaries:
    Node: 11.10.0 - /usr/local/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.7.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 74.0.3729.108
    Firefox: 65.0.1
    Safari: 12.0.3
  npmGlobalPackages:
    @vue/cli: 3.6.3

Steps to reproduce

Vue CLI v3.6.3
✨ Creating project in /Users/liyafei/Work/skillnull/vue-power-popup.
🗃 Initializing git repository...
⚙ Installing CLI plugins. This might take a while...

audited 23519 packages in 25.38s
found 0 vulnerabilities

🚀 Invoking generators...
📦 Installing additional dependencies...

audited 23519 packages in 6.8s
found 0 vulnerabilities

⚓ Running completion hooks...

📄 Generating README.md...

🎉 Successfully created project vue-power-popup.
👉 Get started with the following commands:

$ cd vue-power-popup
$ npm run serve

➜ skillnull cd vue-power-popup
➜ vue-power-popup git:(master) ✗ ll
total 752
-rw-r--r-- 1 liyafei staff 147B 4 27 15:44 README.md
-rw-r--r-- 1 liyafei staff 367K 4 27 15:44 package-lock.json
-rw-r--r-- 1 liyafei staff 213B 4 27 15:44 package.json

➜ vue-power-popup git:(master) ✗ npm run serve
npm ERR! missing script: serve

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/liyafei/.npm/_logs/2019-04-27T07_49_43_174Z-debug.log

What is expected?

Complete project structure.

What is actually happening?

There are only three files:

README.md
package-lock.json
package.json

@LinusBorg
Copy link
Member

Those reproduction steps are not steps describing how to reproduce. You just copied the output of the console after the steps.

This is likely permissions-related.

@skillnull
Copy link
Author

I operate step by step according to the official document, how do I solve the problem of permissions-related?

@bulletmark
Copy link

@skillnull, this issue is a symptom of issue #3664 which you also commented on to say you have that problem as well. That issue #3664 was fixed and closed about a month ago so update your version of Vue CLI and all should be ok.

This bug can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants