- August 29, 2019 at 4:25 pm #32245
Hey, can you share your project environment development?
And packages.json file ?August 30, 2019 at 8:17 am #32299
Ionic CLI : 5.2.6
cordova-res : not installed
native-run : not installed
NodeJS : v10.16.3
npm : 6.11.2
OS : Windows 7August 30, 2019 at 10:32 am #32316
HarryKeymasterAugust 30, 2019 at 10:40 am #32319
After replacing pakage.json
it shows following error …
> npm.cmd run ionic:serve — –host=localhost –port=8100
[npm] > [email protected] ionic:serve D:\ionic\cliproject
[npm] > ionic-app-scripts serve “–host=localhost” “–port=8100”
[npm] ‘ionic-app-scripts’ is not recognized as an internal or external command,
[npm] operable program or batch file.
[npm] npm ERR! code ELIFECYCLE
[npm] npm ERR! errno 1
[npm] npm ERR! [email protected] ionic:serve: `ionic-app-scripts serve “–ho
[npm] npm ERR! Exit status 1
[npm] npm ERR!
[npm] npm ERR! Failed at the [email protected] ionic:serve script.
[npm] npm ERR! This is probably not a problem with npm. There is likely addition
al logging output above.
[npm] npm ERR! A complete log of this run can be found in:
[npm] npm ERR! C:\Users\ESST\AppData\Roaming\npm-cache\_logs\2019-08-30T10_3
[ERROR] npm has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error
You must be logged in to reply to this topic.