missing script: serve when running ionic serve
See original GitHub issueI cloned this git and run ionic serve
after npm install
.
But it says missing script: serve
The ionic info
is:
Cordova CLI: 6.4.0
Ionic Framework Version: 3.9.2
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 3.1.5
ios-deploy version: Not installed
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v8.9.0
Xcode version: Xcode 9.0.1 Build version 9A1004
Error is:
npm ERR! missing script: serve
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ionic-conference-app@0.0.0 ionic:serve: `npm run serve "--address" "192.168.12.230" "--v2" "undefined" "--port" "8000" "--livereload-port" "35729"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-conference-app@0.0.0 ionic:serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
There was an error serving your Ionic application: There was an error with the spawned command: serve
I need a help
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ionic missing script: ionic:build
I started my Ionic 4 app from a blank starter and the scripts to run are in the Ionic json. ... "ionic:serve": "ionic-app-scripts...
Read more >Error during ionic serve
missing script: serve [npm] npm ERR! A complete log of this run can be found in: [npm] npm ERR! C:\Users\l.santaniello\AppData\Roaming\npm ...
Read more >npm err! missing script: start Solution
Now go to the location of the file and open it. The package.json file will be saved in the directory you are currently...
Read more >ionic/app-scripts
Scripts for Ionic Projects. Latest version: 3.2.4, last published: 4 years ago. Start using @ionic/app-scripts in your project by running ...
Read more >How do I solve an NPM error while Ionic starts?
Delete package-lock.json file from your project, if it is created. · Check your npm version using · If your npm version is 5...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you please try updating the Ionic CLI? The latest version is
3.19.1
:The last command should print out
3.19.1
. Let me know if that fixes it!@brandyscarney Thanks for your help. It is resolved