question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New projects created with the UI not created properly

See original GitHub issue

Version

3.5.1

Environment info

System:
    OS: macOS 10.14.2
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
  Binaries:
    Node: 11.12.0 - ~/.nvm/versions/node/v11.12.0/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.7.0 - ~/.nvm/versions/node/v11.12.0/bin/npm
  Browsers:
    Chrome: 72.0.3626.121
    Firefox: Not Found
    Safari: 12.0.2
  npmGlobalPackages:
    @vue/cli: 3.5.1

Steps to reproduce

Create a starter app (I selected the following plugins: vue-router, vuex, node-sass, babel, eslint, unit-jest, e2e-nightwatch)

What is expected?

I expect that the UI will create the project folders (src, public …) and also install the project dependencies.

What is actually happening?

Only the node_modules folder is visible, and no project dependencies are installed.


Create the starter app two times: 1) with vue create in a terminal 2) with vue ui. When you compare the projects, the app installed with the UI is incomplete. Running npm run serve results in an (obvious) error: missing serve script.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
bulletmarkcommented, May 7, 2019

@hito read the words here. Clearly this bug has been fixed so it is likely you are running an older version of vue-cli.

0reactions
daamsiecommented, Sep 19, 2019

Hmm, just updated to v3.11.0 after reading this issue report. Tried creating another project and still have the same issue. The created package.json looks like this:

{ "name": "myproject", "version": "0.1.0", "private": true, "devDependencies": { "@vue/cli-plugin-babel": "^3.11.0", "@vue/cli-plugin-e2e-cypress": "^3.11.0", "@vue/cli-plugin-eslint": "^3.11.0", "@vue/cli-plugin-pwa": "^3.11.0", "@vue/cli-plugin-unit-mocha": "^3.11.0", "@vue/cli-service": "^3.11.0" } }

Trying to run npm run serve results in npm ERR! missing script: serve

There are only three files in the project folder: package.json, package-lock.json and README.md

Read more comments on GitHub >

github_iconTop Results From Across the Web

CLI does not generate project structure and fails with error ...
In the UI I declered that I wanted to create a new project in: "/code/project" and checked the "overwrite if existing" checkbox.
Read more >
"Create project from a template" action does not r... - ServiceNow
On project form when I go to Sub-Projects related list and click new I am provided the option "To create project from a...
Read more >
Create-React-App with TypeScript failing to compile after ...
Show activity on this post. I've created a new React app by running npx create-react-app@latest --typescript . and I've run the project using ......
Read more >
Limitations & Troubleshooting | Android Developers
Workaround: To force an update to generated code, clean the project (go to Build > Clean Project) or delete the generated code folder ......
Read more >
Cannot publish a package only templates - StudioX
I am new to StudioX & have created my first project. I can successfully ... My project has no errors & runs correctly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found