Moodle for mobile

ionic serve --browser chromium Module build failed: Error: ENOENT

Picture of NEEDS NEEDS
ionic serve --browser chromium Module build failed: Error: ENOENT


Kindly I ask for your help in developing my custom version of moodle mobile application. I have followed the guide in the following link:

I have installed:

Git 2.18.0

-  node js 6.9.1

I ran the following command lines from Node js Administrator Command Line:

npm cache clean

npm install -g cordova ionic

npm install -g gulp

npm install --global --production windows-build-tools

git clone moodlemobiledirectory

cd moodlemobiledirectory

git checkout v3.5.0

npm run setup

ionic serve --browser chromium  ( The following line is producing error: 

Runtime Error
Module build failed: Error: ENOENT: no such file or directory, open 'C:\Users\User 6\Documents\Github\moodlemobiledirectory\src\app\main.js' at Error (native))

Your support is highly appreciated.



Average of ratings: -
Picture of Dani Palou
Re: ionic serve --browser chromium Module build failed: Error: ENOENT
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi Rasha,

it's the first time I see that error.

Unfortunately our core team do not have the resources here to help people use the open source code version to build custom apps. We provide a service where we can customise the app for anyone who needs it including the Push notifications (Airnotifier) service management. This service helps fund the improvement of the app in general:

I’d recommend you to check the documentation links that are available in the Forum main page or hopefully somebody else in this forum will be able to help you. 

You should probably Google that error to see if anyone else has found it, or maybe ask for help in the Ionic forum.

Kind regards,


Average of ratings: -
Picture of NEEDS NEEDS
Re: ionic serve --browser chromium Module build failed: Error: ENOENT

Thank you Dani for your reply, 

I have managed to solve the issue after running the below commands 

"Path to chrome\chrome.exe" --allow-file-access-from-files --disable-web-security --user-data-dir  --allow-running-insecure-content   (Change path to chrome)
ionic serve --browser chrome
Average of ratings: -