community-app
community-app copied to clipboard
Cant access community app using ngrok url
Description
I want to expose my local community app to the internet using ngrok.
Steps to Reproduce
- run mifosX using the commands stated in the documentation
- open a separate terminal and run ngrok http 9002 (the port where community app is running)
- access using the given ngrok https url.
Expected Behaviour
I can access the community app using the ngrok url
Actual Behaviour
- I received this error in the browser:
Error: Load timeout for modules: mifosX,angularui,angularuitpls
http://requirejs.org/docs/errors.html#timeout require.js:168:17
makeError http://3e7e9131.ngrok.io/bower_components/requirejs/require.js:168
checkLoaded http://3e7e9131.ngrok.io/bower_components/requirejs/require.js:696
checkLoadedTimeoutId http://3e7e9131.ngrok.io/bower_components/requirejs/require.js:717
Add waitSeconds to the loader config at /community-app/app/scripts/loader-build.js
and /community-app/app/scripts/loader.js
. The value should be 0, so requireJs will wait until all the modules are fully loaded.
Example.
require.config({
waitSeconds: 0,
paths: {}
});