Error when installing moodle mobile app

Error when installing moodle mobile app

by Thanh Phung Van -
Number of replies: 2

Please help, I got an error when installing moodle mobile app

moodlemobile@4.4.0 start

> ionic serve --browser=$MOODLE_APP_BROWSER

> npm.cmd run ionic:serve:before

> moodlemobile@4.4.0 ionic:serve:before

> gulp

'gulp' is not recognized as an internal or external command,

operable program or batch file.

[ERROR] An error occurred while running subprocess npm.

        npm.cmd run ionic:serve:before exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information

Average of ratings: -
In reply to Thanh Phung Van

Re: Error when installing moodle mobile app

by Noel De Martin -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers

It seems like you don't have gulp installed, but it should given that it's a dependency of the project. Did you run npm ci before running the start command? I'd suggest looking at the Troubleshooting page for more details.

In reply to Noel De Martin

Re: Error when installing moodle mobile app

by Thanh Phung Van -
Thank for rep, @Noel. I had run npm ci and then got another error: