-
Bug
-
Resolution: Fixed
-
Major
-
3.9.5
-
-
MOODLE_39_STABLE
-
MOODLE_400_STABLE
-
Moodle App 4.0
When running
npm run dev:ios
|
I'm now seeing the following error:
> npm run ionic:serve -- --host=localhost --port=8100 --platform=ios --project=app
|
[npm] > moodlemobile@3.9.5 ionic:serve /Users/rajohns/Developer/realmoodle/moodleapp
|
[npm] > gulp watch & NODE_OPTIONS=--max-old-space-size=4096 ng serve "--host=localhost" "--port=8100" "--platform=ios" "--project=app"
|
[npm] [22:15:15] Using gulpfile ~/Developer/realmoodle/moodleapp/gulpfile.js
|
[npm] [22:15:15] Starting 'watch'...
|
[npm] Unknown option: '--platform'
|
[npm] npm ERR! code ELIFECYCLE
|
[npm] npm ERR! errno 1
|
[npm] npm ERR! moodlemobile@3.9.5 ionic:serve: `gulp watch & NODE_OPTIONS=--max-old-space-size=4096 ng serve "--host=localhost" "--port=8100" "--platform=ios" "--project=app"`
|
[npm] npm ERR! Exit status 1
|
[npm] npm ERR!
|
[npm] npm ERR! Failed at the moodlemobile@3.9.5 ionic:serve script.
|
It looks like this is due to the change of ionic:serve in package.json using "ng serve" now in 3.9.5 whereas ionic:serve used to use "ionic-app-scripts serve" in previous versions.