Closed
Description
Version
3.5.1
Environment info
System:
OS: Linux 5.0 Ubuntu 18.04.2 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Binaries:
Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
Yarn: Not Found
npm: 6.4.1 - ~/.nvm/versions/node/v10.15.0/bin/npm
Browsers:
Chrome: 72.0.3626.109
Firefox: 65.0.1
npmGlobalPackages:
@vue/cli: 3.5.1
Steps to reproduce
Install vue:
npm install -g @vue/cli
create project:
vue create projectname
go to project dir and run:
cd projectname
npm run serve
What is expected?
A running project
What is actually happening?
Getting error message:
npm ERR! missing script: serve
vue has only created 3 files after vue create projectname
: package.json, package-lock.json, README.md
If I try to create the project with vue ui
, the same files are being created but a different error message in the browser:
NO_MODULES