Closed asiripanich closed 3 years ago
@asiripanich This is because the setup in the image was super old and obsolete and didn't work any more.
Background: I was worried that many of the other docker dev containers put most of their setup logic into the container, not the image, which makes container startup slow. But putting the setup logic into the image will make it hard for different branches to have different dependencies. So I tried an experiment to copy the setup steps into the image in this case. The hope was that when we changed the dependencies in the main code, we would change this as well. Unfortunately, the hope was not realized.
I fixed it locally and it works for me. However, the autoreload of the intro screen doesn't work because of
Ending run
index.html:145 TypeError: Cannot read property 'platform' of undefined
at new <anonymous> (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/intro.js:26:36)
at Object.instantiate (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:18010:14)
I need to put those references to native plugins into the ready
callback.
Both changes would be nice. Thanks! I can certainly wait.
@WilliamChan4
Sure.
On Fri, 6 Aug 2021, 16:26 amarin, @.***> wrote:
@WilliamChan4 https://github.com/WilliamChan4
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/e-mission/e-mission-docs/issues/657#issuecomment-894033985, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3O644Q26CULBF4PLIH32TT3N6CTANCNFSM5BU22JLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
@asiripanich @WillamChan4
Docker changes are https://github.com/e-mission/e-mission-docker/pull/18
Phone changes to allow live-reload on the intro screen are at https://github.com/e-mission/e-mission-phone/pull/773
I have pushed the docker images, but you need to ensure that the phone commit is in your branch, even if you only cherry-pick it. Also, I have only tested this on master, if you are running into issues in your branch, you should probably also ensure that the setup
directory you are testing is synced with master.
Please close this issue once you verify that everything works.
@shankari I tried the new changes. The live reload feature only works on 'master' but not my 'rciti1' branch, any idea why?
Here the log
/src/e-mission-phone/node_modules/fs-extra/lib/mkdirs/make-dir.js:85
} catch {
^
SyntaxError: Unexpected token {
at new Script (vm.js:51:7)
at createScript (vm.js:138:10)
at Object.runInThisContext (vm.js:199:10)
at Module._compile (module.js:624:28)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
(node:96) UnhandledPromiseRejectionWarning: Error: Hook failed with error code 1: /src/e-mission-phone/hooks/before_prepare/download_translation.js
at /src/e-mission-phone/node_modules/cordova-lib/src/hooks/HooksRunner.js:224:23
at _rejected (/src/e-mission-phone/node_modules/q/q.js:864:24)
at /src/e-mission-phone/node_modules/q/q.js:890:30
at Promise.when (/src/e-mission-phone/node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (/src/e-mission-phone/node_modules/q/q.js:808:41)
at /src/e-mission-phone/node_modules/q/q.js:624:44
at runSingle (/src/e-mission-phone/node_modules/q/q.js:137:13)
at flush (/src/e-mission-phone/node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:150:11)
(node:96) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
Ok I should have read what you mentioned above before making a comment. :)
Can you give me some pointer how to fix this issue with nodejs?
I'm seeing this error from running my 'rciti/e-mission-phone@rciti1setup' branch, which has the files in setup
as master:
Cloning into 'e-mission-phone'...
Cloning from repo https://github.com/rciti/e-mission-phone.git
Cloning into './package-hooks'...
From https://github.com/rciti/e-mission-phone
* branch rciti1setup -> FETCH_HEAD
Branch rciti1setup set up to track remote branch rciti1setup from origin.
Switched to a new branch 'rciti1setup'
Copied config.serve.xml -> config.xml and package.serve.json -> package.json
About to install node modules
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
npm ERR! code ERR_STREAM_WRITE_AFTER_END
npm ERR! write after end
that is an error in npm. seems to be related to the node/npm version? https://stackoverflow.com/a/64229672/4040267 or https://github.com/npm/npm/issues/19989#issuecomment-388030175
Are you sure you have copied over the setup and re-built your container? The old node version was 9.4.0 and the new one is 14.7.0
I believe I have all the files from setup
in this branch https://github.com/rciti/e-mission-phone/tree/rciti1setup but it is still giving me the same error message as in the original post.
I believe the setup files are correct, but are you rebuilding the container properly?
Because when I run the docker-compose, I get a lot more information before getting to
Copied config.serve.xml -> config.xml and package.serve.json -> package.json
devapp-server_1 | Cloning from repo https://github.com/e-mission/e-mission-phone.git and branch master
devapp-server_1 | fatal: destination path 'e-mission-phone' already exists and is not an empty directory.
devapp-server_1 | fatal: destination path './package-hooks' already exists and is not an empty directory.
devapp-server_1 | From https://github.com/e-mission/e-mission-phone
devapp-server_1 | * branch master -> FETCH_HEAD
devapp-server_1 | 066dc51..4f7e043 master -> origin/master
devapp-server_1 | Already on 'master'
devapp-server_1 | Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.
devapp-server_1 | (use "git pull" to update your local branch)
devapp-server_1 | Ensure that we fail on error
devapp-server_1 | Installing the correct version of nvm
devapp-server_1 | % Total % Received % Xferd Average Speed Time Time Time Current
devapp-server_1 | Dload Upload Total Spent Left Speed
100 13527 100 13527 0 0 47762 0 --:--:-- --:--:-- --:--:-- 47798
devapp-server_1 | => Downloading nvm from git to '/root/.nvm'
devapp-server_1 | Cloning into '/root/.nvm'...
=> => Compressing and cleaning up git repository
devapp-server_1 |
devapp-server_1 | => Appending nvm source string to /root/.bashrc
devapp-server_1 | => Appending bash_completion source string to /root/.bashrc
devapp-server_1 | => Installing Node.js version 14.7.0
devapp-server_1 | Downloading and installing node v14.7.0...
devapp-server_1 | Downloading https://nodejs.org/dist/v14.7.0/node-v14.7.0-linux-x64.tar.xz...
######################################################################## 100.0%
devapp-server_1 | Computing checksum with sha256sum
devapp-server_1 | Checksums matched!
devapp-server_1 | Now using node v14.7.0 (npm v6.14.7)
devapp-server_1 | Creating default alias: default -> 14.7.0 (-> v14.7.0 *)
devapp-server_1 | => Node.js version 14.7.0 has been successfully installed
devapp-server_1 | => Close and reopen your terminal to start using nvm or run the following to use it now:
devapp-server_1 |
devapp-server_1 | export NVM_DIR="$HOME/.nvm"
devapp-server_1 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
devapp-server_1 | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
devapp-server_1 | Setting up the variables to run nvm
devapp-server_1 | Installing the correct node version
devapp-server_1 | v14.7.0 is already installed.
devapp-server_1 | Now using node v14.7.0 (npm v6.14.7)
devapp-server_1 | Check the version of npm
devapp-server_1 | Invalid npm version, expected 6.14.8, got 6.14.7
devapp-server_1 | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
devapp-server_1 | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
devapp-server_1 |
devapp-server_1 | + npm@6.14.8
devapp-server_1 | added 434 packages from 885 contributors and audited 1432 packages in 32.141s
devapp-server_1 |
devapp-server_1 | 64 packages are looking for funding
devapp-server_1 | run `npm fund` for details
devapp-server_1 |
devapp-server_1 | found 174 vulnerabilities (14 low, 113 moderate, 47 high)
devapp-server_1 | run `npm audit fix` to fix them, or `npm audit` for details
devapp-server_1 | Configuring the repo for UI development
devapp-server_1 | Copied config.serve.xml -> config.xml and package.serve.json -> package.json
devapp-server_1 | Setting up all npm packages
The logs that you have attached seem to be from the old Dockerfile, which actually has a log message saying
About to install node modules
right after node ./bin/configure_xml_and_json.js serve
How did you rebuild and restart your container?
docker-compose -f <path_to_docker-compose.yml> build --pull
as suggessted in the README of e-mission-docker.
that is rebuild, how did you restart?
docker-compose -f "examples/em-phone-devapp-serve/docker-compose.livereload.yml" build --pull
docker-compose -f "examples/em-phone-devapp-serve/docker-compose.livereload.yml" up -d
I also tried to start with the e-mission-phone-docker
directory removed and without removing it.
Ok, I just make sure that emission/e-mission-phone.dev.ui-only
is now on the lastest version, built 2 days ago.
Ok, I can install the phone component now but I'm seeing a whitescreen because of this dep missing error.
Just FYI, up -d
just refreshes the container if needed. It is best to take the containers down
docker-compose -f "examples/em-phone-devapp-serve/docker-compose.livereload.yml" down
Before doing up -d
That is the translation functionality added by FabMob. https://github.com/e-mission/e-mission-phone/commit/d8e0a271966ef36022af6d144745c4e9ba2526ad
I'm not sure exactly what you are doing now. Are you just getting the rciti branch to work with live reload, or are you actually merging changes from master? Not sure whether you had the translate code in your branch before or not...
I have tried both, with only setup files (rciti1setup-only
branch) and merging all changes from master (rciti1setup
). Neither of them works for me.
@asiripanich I don't think you can assume that merging all changes from master will Just Work. Isn't that the task that William is working on?
wrt only copying setup files, you must have pulled in changes to other files as well, because the setup files should not affect the code or the imports. Ah! I bet you copied intro.js
from master as well; you need to pull only the new code in https://github.com/e-mission/e-mission-phone/commit/cc1608851422f11ef3bf9c066242964b9239259d instead of pulling all changes in intro.js
Also:
So I looked at your branch https://github.com/rciti/e-mission-phone/blob/rciti1setup-only/bower.json and it looks like the translate files are in the list They are also in the index.html https://github.com/rciti/e-mission-phone/blob/rciti1setup-only/www/index.html#L40
So are you still getting the same error above? Is that the only error?
@asiripanich is it working now?
@shankari I believe that there is something wrong with the emission/e-mission-phone.dev.ui-only:latest
image you just uploaded to Docker hub. I can only run the emulator with my rciti1setup-only
branch with emission/e-mission-phone.dev.ui-only:2.8.1
.
@asiripanich I tested the latest image (3.0.0) with master, and it worked fine. I think you did as well, right? (https://github.com/e-mission/e-mission-docker/pull/18#issuecomment-894653884) So I don't think that there is anything wrong with the image, just that rcitisetup-only
probably has older dependencies?! and needs to be updated.
If you tell me what the error is, I can try and point you in the right direction for the discrepancy, but unfortunately, I can't do much without the current error logs.
@asiripanich I tested the latest image (3.0.0) with master, and it worked fine. I think you did as well, right? (e-mission/e-mission-docker#18 (comment)) So I don't think that there is anything wrong with the image, just that
rcitisetup-only
probably has older dependencies?! and needs to be updated.If you tell me what the error is, I can try and point you in the right direction for the discrepancy, but unfortunately, I can't do much without the current error logs.
I'm not sure if I was using the latest image. Let me dump the errors for you to see.
``` version: "3" services: devapp-server: image: emission/e-mission-phone.dev.ui-only:latest environment: - PHONE_REPO=https://github.com/rciti/e-mission-phone.git - PHONE_BRANCH=master # CHANGEME: enable this for autoreloading - CHOKIDAR_USEPOLLING=true ports: - "3000:3000" volumes: # specify the host directory where the source code should live # If this is ~/e-mission-phone-docker, then you can edit the files at # ~/e-mission-phone-docker/e-mission-phone/www/... - ~/e-mission-phone-docker/src:/src # - CHANGEME:/src/ # - /tmp/e-mission-phone-docker:/src/ ```
``` version: "3" services: web-server: image: emission/e-mission-server.dev.server-only:latest depends_on: - db environment: - SERVER_REPO=https://github.com/e-mission/e-mission-server.git - SERVER_BRANCH=master - DB_HOST=db - WEB_SERVER_HOST=0.0.0.0 # CHANGEME: enable this for autoreloading # - CHOKIDAR_USEPOLLING=true deploy: replicas: 1 restart_policy: condition: on-failure ports: - "8080:8080" volumes: # specify the host directory where the source code should live # If this is ~/e-mission-server-docker, then you can edit the files at # ~/e-mission-server-docker/src/e-mission-server/emission/... # - CHANGEME:/src/ - ~/e-mission-server-docker/src:/usr/src/app - ~/e-mission-server-docker/logs:/var/tmp networks: - emission db: image: mongo:3.4 deploy: replicas: 1 restart_policy: condition: on-failure ports: #This port binding allows you to access the database server outside the host machine. Remove this is you don't need this #functionality - "27017:27017" #Volumes is the preferred way to persist data generated by a container. In this case we use a volume to persist the contents #of the data base. Learn more about how to use volumes here: https://docs.docker.com/storage/volumes/ # And learn how to configure volumes in your compose file here: https://docs.docker.com/compose/compose-file/#volume-configuration-reference volumes: - mongo-data:/data/db networks: - emission networks: emission: volumes: mongo-data: ```
``` index.html:14 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/animate.css/animate.min.css net::ERR_ABORTED 404 (OK) index.html:15 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/leaflet/dist/leaflet.css net::ERR_ABORTED 404 (OK) index.html:16 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/Leaflet.awesome-markers/dist/leaflet.awesome-markers.css net::ERR_ABORTED 404 (OK) index.html:17 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nz-tour/dist/nz-tour.min.css net::ERR_ABORTED 404 (OK) index.html:20 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/common/dist/sprites/habitrpg-shared.css net::ERR_ABORTED 404 (OK) index.html:18 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nvd3/build/nv.d3.css net::ERR_ABORTED 404 (OK) index.html:21 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/common/img/sprites/spritesmith/quests/bosses/quest.bosses.css net::ERR_ABORTED 404 (OK) index.html:22 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ng-walkthrough/css/ng-walkthrough.css net::ERR_ABORTED 404 (OK) index.html:23 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angularjs-slider/dist/rzslider.css net::ERR_ABORTED 404 (OK) index.html:33 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic-toast/dist/ionic-toast.bundle.min.js net::ERR_ABORTED 404 (OK) index.html:31 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/jquery/dist/jquery.min.js net::ERR_ABORTED 404 (OK) index.html:34 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-translate/angular-translate.min.js net::ERR_ABORTED 404 (OK) index.html:35 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js net::ERR_ABORTED 404 (OK) index.html:36 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/messageformat/messageformat.min.js net::ERR_ABORTED 404 (OK) index.html:37 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js net::ERR_ABORTED 404 (OK) index.html:38 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment/min/moment.min.js net::ERR_ABORTED 404 (OK) index.html:39 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment/min/locales.min.js net::ERR_ABORTED 404 (OK) index.html:40 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment/min/moment-with-locales.min.js net::ERR_ABORTED 404 (OK) index.html:41 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment-timezone/builds/moment-timezone-with-data.min.js net::ERR_ABORTED 404 (OK) index.html:48 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-simple-logger/dist/angular-simple-logger.js net::ERR_ABORTED 404 (OK) index.html:51 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/Leaflet.awesome-markers/dist/leaflet.awesome-markers.js net::ERR_ABORTED 404 (OK) index.html:42 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ngCordova/dist/ng-cordova.js net::ERR_ABORTED 404 (OK) index.html:55 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/d3/d3.js net::ERR_ABORTED 404 (OK) index.html:58 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-cookies/angular-cookies.min.js net::ERR_ABORTED 404 (OK) index.html:59 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angularLocalStorage/dist/angularLocalStorage.min.js net::ERR_ABORTED 404 (OK) index.html:57 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-nvd3/dist/angular-nvd3.min.js net::ERR_ABORTED 404 (OK) index.html:60 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angularjs-slider/dist/rzslider.min.js net::ERR_ABORTED 404 (OK) index.html:56 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nvd3/build/nv.d3.min.js net::ERR_ABORTED 404 (OK) index.html:52 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/leaflet-plugins/layer/Marker.Rotate.js net::ERR_ABORTED 404 (OK) index.html:43 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-animate/angular-animate.js net::ERR_ABORTED 404 (OK) index.html:44 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ng-walkthrough/ng-walkthrough.js net::ERR_ABORTED 404 (OK) index.html:45 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ng-walkthrough/ng-walkthrough.tap_icons.js net::ERR_ABORTED 404 (OK) index.html:430 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/collect-settings.js 404 (OK) index.html:431 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/sync-settings.js net::ERR_ABORTED 404 (OK) index.html:432 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/transition-notify-settings.js net::ERR_ABORTED 404 (OK) index.html:444 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/bottleneck/es5.js net::ERR_ABORTED 404 (OK) index.html:443 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nz-tour/dist/nz-tour.min.js net::ERR_ABORTED 404 (OK) index.html:33 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic-toast/dist/ionic-toast.bundle.min.js net::ERR_ABORTED 404 (OK) index.html:34 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-translate/angular-translate.min.js net::ERR_ABORTED 404 (OK) index.html:35 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js net::ERR_ABORTED 404 (OK) index.html:36 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/messageformat/messageformat.min.js net::ERR_ABORTED 404 (OK) index.html:37 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js net::ERR_ABORTED 404 (OK) index.html:38 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment/min/moment.min.js net::ERR_ABORTED 404 (OK) index.html:39 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment/min/locales.min.js net::ERR_ABORTED 404 (OK) index.html:40 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment/min/moment-with-locales.min.js net::ERR_ABORTED 404 (OK) index.html:41 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/moment-timezone/builds/moment-timezone-with-data.min.js net::ERR_ABORTED 404 (OK) index.html:42 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ngCordova/dist/ng-cordova.js net::ERR_ABORTED 404 (OK) index.html:43 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-animate/angular-animate.js net::ERR_ABORTED 404 (OK) index.html:44 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ng-walkthrough/ng-walkthrough.js net::ERR_ABORTED 404 (OK) index.html:45 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ng-walkthrough/ng-walkthrough.tap_icons.js net::ERR_ABORTED 404 (OK) index.html:48 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-simple-logger/dist/angular-simple-logger.js net::ERR_ABORTED 404 (OK) index.html:51 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/Leaflet.awesome-markers/dist/leaflet.awesome-markers.js net::ERR_ABORTED 404 (OK) index.html:52 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/leaflet-plugins/layer/Marker.Rotate.js net::ERR_ABORTED 404 (OK) index.html:55 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/d3/d3.js net::ERR_ABORTED 404 (OK) index.html:56 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nvd3/build/nv.d3.min.js net::ERR_ABORTED 404 (OK) index.html:57 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-nvd3/dist/angular-nvd3.min.js net::ERR_ABORTED 404 (OK) index.html:58 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-cookies/angular-cookies.min.js net::ERR_ABORTED 404 (OK) index.html:59 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angularLocalStorage/dist/angularLocalStorage.min.js net::ERR_ABORTED 404 (OK) index.html:60 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angularjs-slider/dist/rzslider.min.js net::ERR_ABORTED 404 (OK) index.html:430 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/collect-settings.js net::ERR_ABORTED 404 (OK) index.html:431 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/sync-settings.js net::ERR_ABORTED 404 (OK) index.html:432 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/transition-notify-settings.js net::ERR_ABORTED 404 (OK) index.html:440 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/d3/d3.js net::ERR_ABORTED 404 (OK) index.html:441 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nvd3/build/nv.d3.min.js net::ERR_ABORTED 404 (OK) index.html:442 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/angular-nvd3/dist/angular-nvd3.min.js net::ERR_ABORTED 404 (OK) index.html:443 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nz-tour/dist/nz-tour.min.js net::ERR_ABORTED 404 (OK) index.html:444 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/bottleneck/es5.js net::ERR_ABORTED 404 (OK) ionic.bundle.js:13438 Uncaught Error: [$injector:modulerr] Failed to instantiate module emission due to: Error: [$injector:modulerr] Failed to instantiate module emission.controllers due to: Error: [$injector:modulerr] Failed to instantiate module emission.splash.updatecheck due to: Error: [$injector:modulerr] Failed to instantiate module emission.plugin.kvstore due to: Error: [$injector:modulerr] Failed to instantiate module angularLocalStorage due to: Error: [$injector:nomod] Module 'angularLocalStorage' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.5.3/$injector/nomod?p0=angularLocalStorage at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13438:12 at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:15404:17 at ensure (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:15328:38) at module (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:15402:14) at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17894:22 at forEach (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13691:20) at loadModules (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17878:5) at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17895:40 at forEach (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13691:20) at loadModules (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17878:5) http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=angularLocalStorage&p1=Error%3A%20%5B%24injector%3Anomod%5D%20Module%20'angularLocalStorage'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.3%2F%24injector%2Fnomod%3Fp0%3DangularLocalStorage%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A13438%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A15404%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A15328%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A15402%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17894%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A13691%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17878%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17895%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A13691%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17878%3A5) at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13438:12 at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17917:15 at forEach (http://localhost/_app_file_/da (anonymous) @ ionic.bundle.js:13438 (anonymous) @ ionic.bundle.js:17917 forEach @ ionic.bundle.js:13691 loadModules @ ionic.bundle.js:17878 createInjector @ ionic.bundle.js:17800 doBootstrap @ ionic.bundle.js:15080 bootstrap @ ionic.bundle.js:15101 angularInit @ ionic.bundle.js:14986 (anonymous) @ ionic.bundle.js:44079 trigger @ ionic.bundle.js:16497 defaultHandlerWrapper @ ionic.bundle.js:16787 eventHandler @ ionic.bundle.js:16775 index.html:445 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/nvd3/build/nv.d3.css net::ERR_ABORTED 404 (OK) index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM312:1 ```
You now have another library error
ionic.bundle.js:13438 Uncaught Error: [$injector:modulerr] Failed to instantiate module emission due to:
Error: [$injector:modulerr] Failed to instantiate module emission.controllers due to:
Error: [$injector:modulerr] Failed to instantiate module emission.splash.updatecheck due to:
Error: [$injector:modulerr] Failed to instantiate module emission.plugin.kvstore due to:
Error: [$injector:modulerr] Failed to instantiate module angularLocalStorage due to:
Error: [$injector:nomod] Module 'angularLocalStorage' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
which indicates that bower install
is not running properly.
Can you check the www/lib
directory? It should be as below.
$ ls www/lib/
Leaflet.awesome-markers angular-ui-router leaflet-plugins
angular angularLocalStorage messageformat
angular-animate angularjs-slider moment
angular-cookies animate.css moment-timezone
angular-nvd3 bottleneck ng-walkthrough
angular-sanitize d3 nvd3
angular-simple-logger ionic nz-tour
angular-translate ionic-toast ui-leaflet
angular-translate-interpolation-messageformat jquery
angular-translate-loader-static-files leaflet
If you are missing any of those directories, it is clearly an issue with bower.
Can you use the explicit tag (3.0.0
) instead of latest
and attach the docker logs docker-compose logs -f
to show how the install is working?
Only had ionic in the www/lib
. Trying your suggestion now.
``` Cloning into 'e-mission-phone'... Cloning into './package-hooks'... From https://github.com/rciti/e-mission-phone * branch master -> FETCH_HEAD Already on 'master' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 100 13527 100 13527 0 0 1280 0 0:00:10 0:00:10 --:--:-- 3342 Cloning into '/root/.nvm'... Downloading https://nodejs.org/dist/v14.7.0/node-v14.7.0-linux-x64.tar.xz... Cloning from repo https://github.com/rciti/e-mission-phone.git and branch master Your branch is up-to-date with 'origin/master'. Ensure that we fail on error Installing the correct version of nvm => Downloading nvm from git to '/root/.nvm' => => Compressing and cleaning up git repository => Appending nvm source string to /root/.bashrc => Appending bash_completion source string to /root/.bashrc => Installing Node.js version 14.7.0 Downloading and installing node v14.7.0... 0.0% 0.2% 0.6% 0.7% 1.0% 1.3% # 1.7% # 2.1% # 2.4% ## 2.9% ## 3.4% ## 3.7% ### 4.3% ### 4.8% ### 5.4% #### 6.1% #### 6.9% ##### 7.6% ###### 8.5% ###### 9.2% ####### 10.0% ####### 10.7% ######## 11.5% ######## 12.3% ######### 13.0% ######### 13.8% ########## 14.6% ########## 15.2% ########### 15.6% ########### 15.6% ########### 15.8% ########### 16.0% ############# 18.3% ############## 19.8% ############## 20.6% ################ 22.4% ################ 22.6% ################# 24.1% ################# 24.4% ################### 26.5% #################### 28.9% ##################### 29.5% ##################### 30.5% ###################### 31.6% ########################## 37.1% ########################### 37.5% ########################### 37.9% ########################### 38.4% ########################### 38.9% ############################ 39.5% ############################ 39.9% ############################## 42.2% ############################## 42.8% ############################### 43.4% ################################ 45.5% ################################ 45.8% ################################# 47.0% ################################## 47.7% ################################## 48.3% ################################### 49.3% ################################### 49.5% ################################### 49.9% #################################### 50.3% #################################### 50.4% ##################################### 51.5% ##################################### 52.6% ###################################### 53.6% ###################################### 53.9% ###################################### 54.0% ####################################### 55.0% ######################################## 56.0% ######################################## 56.5% ######################################## 56.9% ########################################## 58.6% ########################################### 59.9% ############################################ 61.8% ############################################# 62.9% ############################################# 63.0% ############################################# 63.2% ############################################### 65.4% ################################################ 67.8% ################################################# 69.2% ################################################### 71.0% #################################################### 73.3% ##################################################### 73.9% ##################################################### 74.3% ##################################################### 74.6% ####################################################### 76.5% ####################################################### 77.2% ######################################################## 78.3% ######################################################## 79.1% ######################################################### 79.3% ######################################################### 79.5% ######################################################### 80.1% ######################################################### 80.2% ########################################################## 81.7% ########################################################### 82.0% ########################################################### 82.2% ########################################################### 82.6% ############################################################ 83.9% ############################################################ 84.0% ############################################################# 84.8% ############################################################# 85.2% ############################################################# 86.0% ############################################################## 86.7% ############################################################## 87.1% ################################################################ 89.4% ################################################################ 89.5% ################################################################## 92.0% ################################################################## 92.8% ################################################################### 93.2% #################################################################### 94.6% ##################################################################### 96.3% ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! Now using node v14.7.0 (npm v6.14.7) Creating default alias: default -> 14.7.0 (-> v14.7.0 *) => Node.js version 14.7.0 has been successfully installed => Close and reopen your terminal to start using nvm or run the following to use it now: export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion Setting up the variables to run nvm Installing the correct node version v14.7.0 is already installed. Now using node v14.7.0 (npm v6.14.7) Check the version of npm Invalid npm version, expected 6.14.8, got 6.14.7 npm WARN saveError ENOENT: no such file or directory, open '/src/e-mission-phone/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/src/e-mission-phone/package.json' npm WARN e-mission-phone No description npm WARN e-mission-phone No repository field. npm WARN e-mission-phone No README data npm WARN e-mission-phone No license field. + npm@6.14.8 added 434 packages from 885 contributors and audited 434 packages in 22.366s 2 packages are looking for funding run `npm fund` for details found 154 vulnerabilities (11 low, 99 moderate, 44 high) run `npm audit fix` to fix them, or `npm audit` for details Configuring the repo for UI development Copied config.serve.xml -> config.xml and package.serve.json -> package.json Setting up all npm packages npm WARN deprecated phonegap@9.0.0: This package is deprecated, see https://blog.phonegap.com/update-for-customers-using-phonegap-and-phonegap-build-cc701c77502c npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated connect-phonegap@0.25.0: This package is deprecated, see https://blog.phonegap.com/update-for-customers-using-phonegap-and-phonegap-build-cc701c77502c npm WARN deprecated phonegap-build@1.0.0: This package is deprecated, see https://blog.phonegap.com/update-for-customers-using-phonegap-and-phonegap-build-cc701c77502c npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated phonegap-build-api@1.0.0: This package is deprecated, see https://blog.phonegap.com/update-for-customers-using-phonegap-and-phonegap-build-cc701c77502c npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/ npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated axios@0.19.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"14.7.0","npm":"6.14.7"}) npm WARN notsup Not compatible with your version of node/npm: got@5.7.1 added 813 packages from 455 contributors, removed 251 packages, moved 183 packages and audited 998 packages in 53.596s 63 packages are looking for funding run `npm fund` for details found 20 vulnerabilities (3 low, 14 moderate, 3 high) run `npm audit fix` to fix them, or `npm audit` for details Updating bower bower ESUDO Cannot be run with sudo Additional error details: Since bower is a user command, there is no need to execute it with superuser permissions. If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs. http://www.joyent.com/blog/installing-node-and-npm https://gist.github.com/isaacs/579814 You can however run a command with sudo using "--allow-root" option /start_devapp_serve.sh: line 20: bower: command not found Activating nvm Using version 14.7.0 Now using node v14.7.0 (npm v6.14.7) npm version = 6.14.7 Configuring the repo for UI development Copied config.serve.xml -> config.xml and package.serve.json -> package.json About to fix autoreload script Replacing path.join(process.cwd(), 'www/../.') -> path.join(process.cwd(), 'www/js/**/*'), path.join(process.cwd(), 'www/templates/**/*') watches = [ path.join(process.cwd(), 'www/js/**/*'), path.join(process.cwd(), 'www/templates/**/*') ]; > edu.berkeley.eecs.emission@2.5.0 serve /src/e-mission-phone > phonegap --verbose serve How you use PhoneGap provides us with important data that we can use to make our products better. Please read our privacy policy for more information on the data we collect. http://www.adobe.com/privacy.html Analytics is off. If you would like to turn analytics on, simply run `phonegap analytics on` [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/download_translation.js /src/e-mission-phone [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/ios_use_apns_token.js /src/e-mission-phone /usr/bin/git Downloading locales: /src/e-mission-phone/bin/conf/translate_config.json not found, I will extract translate repo from translation_config.json.sample. Downloading locales: I will clone from https://github.com/e-mission/e-mission-translate Cloning into '/src/e-mission-phone/locales'... [phonegap] starting app server... [phonegap] listening on 172.24.0.2:3000 [phonegap] [phonegap] ctrl-c to stop the server [phonegap] [phonegap] 200 /__api__/autoreload?appID=fc5a303ce233f906e39c867f30e74711 ```
Ah the key is here:
/start_devapp_serve.sh: line 20: bower: command not found
It looks like I'm calling this before the activate command
Activating nvm
Using version 14.7.0
I've moved bower after the activate and pushed version 3.0.1
I suspect this worked for me because I had run bower manually to test it out, and the resulting www/lib
was already in the shared directory. So I didn't realize that the bower
command had failed.
Can you try out v 3.0.1 and share logs again if it doesn't work? I'll restart from scratch tomorrow morning and see what I can find as well.
Thanks! trying now.
Now I have all the libs
lib (master) $ ls
Leaflet.awesome-markers angular-ui-router leaflet-plugins
angular angularLocalStorage messageformat
angular-animate angularjs-slider moment
angular-cookies animate.css moment-timezone
angular-nvd3 bottleneck ng-walkthrough
angular-sanitize d3 nvd3
angular-simple-logger ionic nz-tour
angular-translate ionic-toast ui-leaflet
angular-translate-interpolation-messageformat jquery
angular-translate-loader-static-files leaflet
But I still get a whitescreen on the emulator with these errors:
``` index.html:20 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/common/dist/sprites/habitrpg-shared.css net::ERR_ABORTED 404 (OK) index.html:21 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/common/img/sprites/spritesmith/quests/bosses/quest.bosses.css net::ERR_ABORTED 404 (OK) index.html:42 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ngCordova/dist/ng-cordova.js net::ERR_ABORTED 404 (OK) index.html:432 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/transition-notify-settings.js net::ERR_ABORTED 404 (OK) index.html:430 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/collect-settings.js net::ERR_ABORTED 404 (OK) index.html:431 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/sync-settings.js net::ERR_ABORTED 404 (OK) index.html:42 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ngCordova/dist/ng-cordova.js net::ERR_ABORTED 404 (OK) index.html:430 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/collect-settings.js net::ERR_ABORTED 404 (OK) index.html:431 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/sync-settings.js net::ERR_ABORTED 404 (OK) index.html:432 GET http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/js/control/transition-notify-settings.js net::ERR_ABORTED 404 (OK) jquery.min.js:2 Uncaught Error: [$injector:modulerr] Failed to instantiate module emission due to: Error: [$injector:modulerr] Failed to instantiate module emission.main due to: Error: [$injector:modulerr] Failed to instantiate module emission.main.control due to: Error: [$injector:modulerr] Failed to instantiate module emission.main.control.collection due to: Error: [$injector:nomod] Module 'emission.main.control.collection' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.5.3/$injector/nomod?p0=emission.main.control.collection at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13438:12 at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:15404:17 at ensure (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:15328:38) at module (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:15402:14) at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17894:22 at forEach (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13691:20) at loadModules (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17878:5) at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17895:40 at forEach (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13691:20) at loadModules (http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17878:5) http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=emission.main.control.collection&p1=Error%3A%20%5B%24injector%3Anomod%5D%20Module%20'emission.main.control.collection'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.3%2F%24injector%2Fnomod%3Fp0%3Demission.main.control.collection%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A13438%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A15404%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A15328%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A15402%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17894%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A13691%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17878%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17895%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A13691%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%2F_app_file_%2Fdata%2Fuser%2F0%2Fedu.berkeley.eecs.emission.devapp%2Ffiles%2Fphonegapdevapp%2Fwww%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A17878%3A5) at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:13438:12 at http://localhost/_app_file_/data/user/0/edu.berkeley.eecs.emission.devapp/files/phonegapdevapp/www/lib/ionic/js/ionic.bundle.js:17917:15 at forEach (http://localhost/_app_file_/data/user/0/edu.berkeley.e (anonymous) @ ionic.bundle.js:13438 (anonymous) @ ionic.bundle.js:17917 forEach @ ionic.bundle.js:13691 loadModules @ ionic.bundle.js:17878 createInjector @ ionic.bundle.js:17800 doBootstrap @ ionic.bundle.js:15080 bootstrap @ ionic.bundle.js:15101 angularInit @ ionic.bundle.js:14986 (anonymous) @ ionic.bundle.js:44079 e @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) S.readyException @ jquery.min.js:2 (anonymous) @ jquery.min.js:2 e @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 fire @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 fire @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 ready @ jquery.min.js:2 B @ jquery.min.js:2 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM1388:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM1388:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM1388:1 index.html:1 Access to XMLHttpRequest at 'http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. index.html:112 GET http://10.0.2.2:3000/__api__/autoreload?appID=4890c28da4a0c8f7c4cb4853bbf56bb8 net::ERR_FAILED checkForReload @ index.html:112 setInterval (async) (anonymous) @ index.html:116 Channel.fire @ cordova.js:872 (anonymous) @ cordova.js:232 setTimeout (async) fireDocumentEvent @ cordova.js:227 (anonymous) @ cordova.js:1306 f @ cordova.js:720 Channel.fire @ cordova.js:872 initializationComplete @ cordova.js:767 after @ fileSystemPaths.js:60 callbackFromNative @ cordova.js:295 (anonymous) @ VM1388:1 ```
``` fatal: destination path 'e-mission-phone' already exists and is not an empty directory. fatal: destination path './package-hooks' already exists and is not an empty directory. From https://github.com/rciti/e-mission-phone * branch master -> FETCH_HEAD Already on 'master' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 13527 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 100 13527 100 13527 0 0 2254 0 0:00:06 0:00:05 0:00:01 3878 Cloning into '/root/.nvm'... Downloading https://nodejs.org/dist/v14.7.0/node-v14.7.0-linux-x64.tar.xz... Cloning from repo https://github.com/rciti/e-mission-phone.git and branch master Your branch is up-to-date with 'origin/master'. Ensure that we fail on error Installing the correct version of nvm => Downloading nvm from git to '/root/.nvm' => => Compressing and cleaning up git repository => Appending nvm source string to /root/.bashrc => Appending bash_completion source string to /root/.bashrc => Installing Node.js version 14.7.0 Downloading and installing node v14.7.0... ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! Now using node v14.7.0 (npm v6.14.7) Creating default alias: default -> 14.7.0 (-> v14.7.0 *) => Node.js version 14.7.0 has been successfully installed => Close and reopen your terminal to start using nvm or run the following to use it now: export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion Setting up the variables to run nvm Installing the correct node version v14.7.0 is already installed. Now using node v14.7.0 (npm v6.14.7) Check the version of npm Invalid npm version, expected 6.14.8, got 6.14.7 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) + npm@6.14.8 added 434 packages from 885 contributors and audited 1432 packages in 23.434s 64 packages are looking for funding run `npm fund` for details found 174 vulnerabilities (14 low, 113 moderate, 47 high) run `npm audit fix` to fix them, or `npm audit` for details Configuring the repo for UI development Copied config.serve.xml -> config.xml and package.serve.json -> package.json Setting up all npm packages npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents): removed 434 packages and audited 998 packages in 7.891s npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 63 packages are looking for funding run `npm fund` for details found 20 vulnerabilities (3 low, 14 moderate, 3 high) run `npm audit fix` to fix them, or `npm audit` for details Updating bower bower ESUDO Cannot be run with sudo Additional error details: Since bower is a user command, there is no need to execute it with superuser permissions. If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs. http://www.joyent.com/blog/installing-node-and-npm https://gist.github.com/isaacs/579814 You can however run a command with sudo using "--allow-root" option Activating nvm Using version 14.7.0 Now using node v14.7.0 (npm v6.14.7) npm version = 6.14.7 Configuring the repo for UI development Copied config.serve.xml -> config.xml and package.serve.json -> package.json bower ionic#1.3.1 not-cached https://github.com/driftyco/ionic-bower.git#1.3.1 bower ionic#1.3.1 resolve https://github.com/driftyco/ionic-bower.git#1.3.1 bower nz-tour#^1.2.1 not-cached https://github.com/nozzle/nzTour.git#^1.2.1 bower nz-tour#^1.2.1 resolve https://github.com/nozzle/nzTour.git#^1.2.1 bower angularjs-slider#^6.2.2 not-cached https://github.com/rzajac/angularjs-slider.git#^6.2.2 bower angularjs-slider#^6.2.2 resolve https://github.com/rzajac/angularjs-slider.git#^6.2.2 bower angular-nvd3#^1.0.7 not-cached https://github.com/krispo/angular-nvd3.git#^1.0.7 bower angular-nvd3#^1.0.7 resolve https://github.com/krispo/angular-nvd3.git#^1.0.7 bower angularLocalStorage#^0.3.2 not-cached https://github.com/agrublev/angularLocalStorage.git#^0.3.2 bower angularLocalStorage#^0.3.2 resolve https://github.com/agrublev/angularLocalStorage.git#^0.3.2 bower moment-timezone#^0.5.0 not-cached https://github.com/moment/moment-timezone.git#^0.5.0 bower moment-timezone#^0.5.0 resolve https://github.com/moment/moment-timezone.git#^0.5.0 bower jquery#^3.1.0 not-cached https://github.com/jquery/jquery-dist.git#^3.1.0 bower jquery#^3.1.0 resolve https://github.com/jquery/jquery-dist.git#^3.1.0 bower leaflet-plugins#^3.0.0 not-cached https://github.com/shramov/leaflet-plugins.git#^3.0.0 bower leaflet-plugins#^3.0.0 resolve https://github.com/shramov/leaflet-plugins.git#^3.0.0 bower angular-translate#^2.18.1 not-cached https://github.com/PascalPrecht/bower-angular-translate.git#^2.18.1 bower angular-translate#^2.18.1 resolve https://github.com/PascalPrecht/bower-angular-translate.git#^2.18.1 bower angular-ui-router#0.2.13 not-cached https://github.com/angular-ui/angular-ui-router-bower.git#0.2.13 bower angular-ui-router#0.2.13 resolve https://github.com/angular-ui/angular-ui-router-bower.git#0.2.13 bower leaflet#^0.7.7 not-cached https://github.com/Leaflet/Leaflet.git#^0.7.7 bower leaflet#^0.7.7 resolve https://github.com/Leaflet/Leaflet.git#^0.7.7 bower angular-animate#1.5.3 not-cached https://github.com/angular/bower-angular-animate.git#1.5.3 bower angular-animate#1.5.3 resolve https://github.com/angular/bower-angular-animate.git#1.5.3 bower moment#^2.11.2 not-cached https://github.com/moment/moment.git#^2.11.2 bower moment#^2.11.2 resolve https://github.com/moment/moment.git#^2.11.2 bower Leaflet.awesome-markers#^2.0.2 not-cached https://github.com/lvoogdt/Leaflet.awesome-markers.git#^2.0.2 bower Leaflet.awesome-markers#^2.0.2 resolve https://github.com/lvoogdt/Leaflet.awesome-markers.git#^2.0.2 bower angular-sanitize#1.5.3 not-cached https://github.com/angular/bower-angular-sanitize.git#1.5.3 bower angular-sanitize#1.5.3 resolve https://github.com/angular/bower-angular-sanitize.git#1.5.3 bower bottleneck#^2.19.5 not-cached https://github.com/SGrondin/bottleneck.git#^2.19.5 bower bottleneck#^2.19.5 resolve https://github.com/SGrondin/bottleneck.git#^2.19.5 bower nz-tour#^1.2.1 download https://github.com/nozzle/nzTour/archive/v1.2.1.tar.gz bower ng-walkthrough#^1.0.0 not-cached https://github.com/souly1/ng-walkthrough.git#^1.0.0 bower ng-walkthrough#^1.0.0 resolve https://github.com/souly1/ng-walkthrough.git#^1.0.0 bower angularLocalStorage#^0.3.2 download https://github.com/agrublev/angularLocalStorage/archive/0.3.2.tar.gz bower ui-leaflet#^1.0.0 not-cached https://github.com/angular-ui/ui-leaflet.git#^1.0.0 bower ui-leaflet#^1.0.0 resolve https://github.com/angular-ui/ui-leaflet.git#^1.0.0 bower angular-nvd3#^1.0.7 download https://github.com/krispo/angular-nvd3/archive/v1.0.9.tar.gz bower angularjs-slider#^6.2.2 download https://github.com/rzajac/angularjs-slider/archive/6.7.0.tar.gz bower ionic#1.3.1 download https://github.com/driftyco/ionic-bower/archive/v1.3.1.tar.gz bower angular-translate-interpolation-messageformat#^2.18.1 not-cached https://github.com/PascalPrecht/bower-angular-translate-interpolation-messageformat.git#^2.18.1 bower angular-translate-interpolation-messageformat#^2.18.1 resolve https://github.com/PascalPrecht/bower-angular-translate-interpolation-messageformat.git#^2.18.1 bower ionic-toast#^0.2.0 not-cached https://github.com/rajeshwarpatlolla/ionic-toast.git#^0.2.0 bower ionic-toast#^0.2.0 resolve https://github.com/rajeshwarpatlolla/ionic-toast.git#^0.2.0 bower animate.css#^3.5.2 not-cached https://github.com/daneden/animate.css.git#^3.5.2 bower animate.css#^3.5.2 resolve https://github.com/daneden/animate.css.git#^3.5.2 bower angular-translate-loader-static-files#^2.18.1 not-cached https://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#^2.18.1 bower angular-translate-loader-static-files#^2.18.1 resolve https://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#^2.18.1 bower moment-timezone#^0.5.0 download https://github.com/moment/moment-timezone/archive/0.5.33.tar.gz bower angular-translate#^2.18.1 download https://github.com/PascalPrecht/bower-angular-translate/archive/2.18.4.tar.gz bower jquery#^3.1.0 download https://github.com/jquery/jquery-dist/archive/3.6.0.tar.gz bower angular-ui-router#0.2.13 download https://github.com/angular-ui/angular-ui-router-bower/archive/0.2.13.tar.gz bower leaflet-plugins#^3.0.0 download https://github.com/shramov/leaflet-plugins/archive/3.4.0.tar.gz bower angular-nvd3#^1.0.7 extract archive.tar.gz bower nz-tour#^1.2.1 extract archive.tar.gz bower Leaflet.awesome-markers#^2.0.2 download https://github.com/lvoogdt/Leaflet.awesome-markers/archive/v2.0.2.tar.gz bower angular-nvd3#^1.0.7 resolved https://github.com/krispo/angular-nvd3.git#1.0.9 bower nz-tour#^1.2.1 mismatch Version declared in the json (1.2.0) is different than the resolved one (1.2.1) bower nz-tour#^1.2.1 resolved https://github.com/nozzle/nzTour.git#1.2.1 bower angularLocalStorage#^0.3.2 extract archive.tar.gz bower angularLocalStorage#^0.3.2 invalid-meta for:/tmp/fee653e74bd010b37630823217c588e9/bower/58b7cb354970fa0a6d739d41b11bd69a-1421-7YwLvP/bower.json bower angularLocalStorage#^0.3.2 invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes bower angularLocalStorage#^0.3.2 invalid-meta The "main" field cannot contain minified files bower angularLocalStorage#^0.3.2 resolved https://github.com/agrublev/angularLocalStorage.git#0.3.2 bower angular#^1.x not-cached https://github.com/angular/bower-angular.git#^1.x bower angular#^1.x resolve https://github.com/angular/bower-angular.git#^1.x bower nvd3#^1.7.1 not-cached https://github.com/novus/nvd3.git#^1.7.1 bower nvd3#^1.7.1 resolve https://github.com/novus/nvd3.git#^1.7.1 bower d3#^3.3.13 not-cached https://github.com/mbostock-bower/d3-bower.git#^3.3.13 bower d3#^3.3.13 resolve https://github.com/mbostock-bower/d3-bower.git#^3.3.13 bower bottleneck#^2.19.5 download https://github.com/SGrondin/bottleneck/archive/v2.19.5.tar.gz bower angular-ui-router#0.2.13 extract archive.tar.gz bower angular-ui-router#0.2.13 resolved https://github.com/angular-ui/angular-ui-router-bower.git#0.2.13 bower angular#>= 1.0.8 not-cached https://github.com/angular/bower-angular.git#>= 1.0.8 bower angular#>= 1.0.8 resolve https://github.com/angular/bower-angular.git#>= 1.0.8 bower angular#~1.4.7 not-cached https://github.com/angular/bower-angular.git#~1.4.7 bower angular#~1.4.7 resolve https://github.com/angular/bower-angular.git#~1.4.7 bower angular-cookies#~1.4.7 not-cached https://github.com/angular/bower-angular-cookies.git#~1.4.7 bower angular-cookies#~1.4.7 resolve https://github.com/angular/bower-angular-cookies.git#~1.4.7 bower angularjs-slider#^6.2.2 extract archive.tar.gz bower angularjs-slider#^6.2.2 resolved https://github.com/rzajac/angularjs-slider.git#6.7.0 bower moment#^2.11.2 download https://github.com/moment/moment/archive/2.29.1.tar.gz bower leaflet#^0.7.7 download https://github.com/Leaflet/Leaflet/archive/v0.7.7.tar.gz bower angular-translate#^2.18.1 extract archive.tar.gz bower angular-translate#^2.18.1 resolved https://github.com/PascalPrecht/bower-angular-translate.git#2.18.4 bower angular#>=1.2.26 <1.9 not-cached https://github.com/angular/bower-angular.git#>=1.2.26 <1.9 bower angular#>=1.2.26 <1.9 resolve https://github.com/angular/bower-angular.git#>=1.2.26 <1.9 bower ng-walkthrough#^1.0.0 download https://github.com/souly1/ng-walkthrough/archive/v1.0.4.tar.gz bower angular-animate#1.5.3 download https://github.com/angular/bower-angular-animate/archive/v1.5.3.tar.gz bower angular-sanitize#1.5.3 download https://github.com/angular/bower-angular-sanitize/archive/v1.5.3.tar.gz bower jquery#^3.1.0 extract archive.tar.gz bower ui-leaflet#^1.0.0 download https://github.com/angular-ui/ui-leaflet/archive/v1.0.3.tar.gz bower angular-translate-interpolation-messageformat#^2.18.1 download https://github.com/PascalPrecht/bower-angular-translate-interpolation-messageformat/archive/2.18.4.tar.gz bower jquery#^3.1.0 resolved https://github.com/jquery/jquery-dist.git#3.6.0 bower ionic-toast#^0.2.0 download https://github.com/rajeshwarpatlolla/ionic-toast/archive/v0.2.0.tar.gz bower angular-translate-loader-static-files#^2.18.1 download https://github.com/PascalPrecht/bower-angular-translate-loader-static-files/archive/2.18.4.tar.gz bower animate.css#^3.5.2 download https://github.com/daneden/animate.css/archive/3.7.2.tar.gz bower bottleneck#^2.19.5 extract archive.tar.gz bower leaflet-plugins#^3.0.0 extract archive.tar.gz bower angular-sanitize#1.5.3 extract archive.tar.gz bower angular-sanitize#1.5.3 resolved https://github.com/angular/bower-angular-sanitize.git#1.5.3 bower leaflet-plugins#^3.0.0 resolved https://github.com/shramov/leaflet-plugins.git#3.4.0 bower Leaflet.awesome-markers#^2.0.2 extract archive.tar.gz bower bottleneck#^2.19.5 resolved https://github.com/SGrondin/bottleneck.git#2.19.5 bower Leaflet.awesome-markers#^2.0.2 invalid-meta for:/tmp/fee653e74bd010b37630823217c588e9/bower/30dc442c64cca339b43ac19599ae3bdb-1421-1Hd4kc/bower.json bower Leaflet.awesome-markers#^2.0.2 invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes bower Leaflet.awesome-markers#^2.0.2 resolved https://github.com/lvoogdt/Leaflet.awesome-markers.git#2.0.2 bower ionic-toast#^0.2.0 extract archive.tar.gz bower ionic-toast#^0.2.0 resolved https://github.com/rajeshwarpatlolla/ionic-toast.git#0.2.0 bower angular-animate#1.5.3 extract archive.tar.gz bower angular-animate#1.5.3 resolved https://github.com/angular/bower-angular-animate.git#1.5.3 bower nvd3#^1.7.1 download https://github.com/novus/nvd3/archive/v1.8.6.tar.gz bower d3#^3.3.13 download https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.tar.gz bower angular-translate-interpolation-messageformat#^2.18.1 extract archive.tar.gz bower angular-translate-interpolation-messageformat#^2.18.1 resolved https://github.com/PascalPrecht/bower-angular-translate-interpolation-messageformat.git#2.18.4 bower animate.css#^3.5.2 extract archive.tar.gz bower angular-translate-loader-static-files#^2.18.1 extract archive.tar.gz bower angular-translate-loader-static-files#^2.18.1 resolved https://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#2.18.4 bower animate.css#^3.5.2 resolved https://github.com/daneden/animate.css.git#3.7.2 bower angular-cookies#~1.4.7 download https://github.com/angular/bower-angular-cookies/archive/v1.4.14.tar.gz bower d3#^3.3.13 extract archive.tar.gz bower messageformat#~1.0.2 not-cached https://github.com/SlexAxton/messageformat.js.git#~1.0.2 bower messageformat#~1.0.2 resolve https://github.com/SlexAxton/messageformat.js.git#~1.0.2 bower d3#^3.3.13 resolved https://github.com/mbostock-bower/d3-bower.git#3.5.17 bower angular#>= 1.0.8 download https://github.com/angular/bower-angular/archive/v1.8.2.tar.gz bower angular#~1.4.7 download https://github.com/angular/bower-angular/archive/v1.4.14.tar.gz bower angular#>=1.2.26 <1.9 download https://github.com/angular/bower-angular/archive/v1.8.2.tar.gz bower angular#^1.x download https://github.com/angular/bower-angular/archive/v1.8.2.tar.gz bower leaflet#^0.7.7 extract archive.tar.gz bower messageformat#~1.0.2 download https://github.com/SlexAxton/messageformat.js/archive/v1.0.2.tar.gz bower leaflet#^0.7.7 invalid-meta for:/tmp/fee653e74bd010b37630823217c588e9/bower/1f6f5327375de395359cc797e6906547-1421-G1mcfz/bower.json bower leaflet#^0.7.7 invalid-meta The "main" field cannot contain font, image, audio, or video files bower leaflet#^0.7.7 invalid-meta The "main" field cannot contain font, image, audio, or video files bower leaflet#^0.7.7 invalid-meta The "main" field cannot contain font, image, audio, or video files bower leaflet#^0.7.7 invalid-meta The "main" field cannot contain font, image, audio, or video files bower leaflet#^0.7.7 invalid-meta The "main" field cannot contain font, image, audio, or video files bower leaflet#^0.7.7 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .png files: ["dist/images/layers-2x.png","dist/images/layers.png","dist/images/marker-icon-2x.png","dist/images/marker-icon.png","dist/images/marker-shadow.png"] bower ng-walkthrough#^1.0.0 extract archive.tar.gz bower leaflet#^0.7.7 resolved https://github.com/Leaflet/Leaflet.git#0.7.7 bower angular-cookies#~1.4.7 extract archive.tar.gz bower angular-cookies#~1.4.7 resolved https://github.com/angular/bower-angular-cookies.git#1.4.14 bower ng-walkthrough#^1.0.0 invalid-meta for:/tmp/fee653e74bd010b37630823217c588e9/bower/1a7d084f7533264db105b12d16d0de44-1421-aK2hNI/bower.json bower ng-walkthrough#^1.0.0 invalid-meta The "description" is too long, the limit is 140 characters bower ng-walkthrough#^1.0.0 mismatch Version declared in the json (1.0.0) is different than the resolved one (1.0.4) bower ng-walkthrough#^1.0.0 resolved https://github.com/souly1/ng-walkthrough.git#1.0.4 bower ionic#1.3.1 progress received 1.2MB bower moment-timezone#^0.5.0 progress received 1.8MB of 12.6MB downloaded, 14% bower ionic#1.3.1 progress received 1.3MB bower moment-timezone#^0.5.0 progress received 2.0MB of 12.6MB downloaded, 16% bower messageformat#~1.0.2 extract archive.tar.gz bower messageformat#~1.0.2 resolved https://github.com/SlexAxton/messageformat.js.git#1.0.2 bower nvd3#^1.7.1 extract archive.tar.gz bower ionic#1.3.1 progress received 1.4MB bower moment-timezone#^0.5.0 progress received 2.2MB of 12.6MB downloaded, 18% bower moment#^2.11.2 extract archive.tar.gz bower ionic#1.3.1 extract archive.tar.gz bower angular#>= 1.0.8 extract archive.tar.gz bower angular#>= 1.0.8 resolved https://github.com/angular/bower-angular.git#1.8.2 bower nvd3#^1.7.1 resolved https://github.com/novus/nvd3.git#1.8.6 bower ionic#1.3.1 invalid-meta for:/tmp/fee653e74bd010b37630823217c588e9/bower/bf2802b39384aa9e0b0a44f3fe9ee12a-1421-l3BrKO/bower.json bower ionic#1.3.1 invalid-meta The "main" field cannot contain globs (example: "*.js") bower ionic#1.3.1 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["js/ionic.js","js/ionic-angular.js"] bower ionic#1.3.1 resolved https://github.com/driftyco/ionic-bower.git#1.3.1 bower angular#~1.4.7 extract archive.tar.gz bower moment-timezone#^0.5.0 progress received 2.5MB of 12.6MB downloaded, 20% bower angular#~1.4.7 resolved https://github.com/angular/bower-angular.git#1.4.14 bower angular#^1.x extract archive.tar.gz bower angular#^1.x resolved https://github.com/angular/bower-angular.git#1.8.2 bower angular#>=1.2.26 <1.9 extract archive.tar.gz bower ui-leaflet#^1.0.0 progress received 1.4MB bower angular#>=1.2.26 <1.9 resolved https://github.com/angular/bower-angular.git#1.8.2 bower angular#1.5.3 not-cached https://github.com/angular/bower-angular.git#1.5.3 bower angular#1.5.3 resolve https://github.com/angular/bower-angular.git#1.5.3 bower angular#1.4.3 not-cached https://github.com/angular/bower-angular.git#1.4.3 bower angular#1.4.3 resolve https://github.com/angular/bower-angular.git#1.4.3 bower angular#1.5.3 download https://github.com/angular/bower-angular/archive/v1.5.3.tar.gz bower angular#1.4.3 download https://github.com/angular/bower-angular/archive/v1.4.3.tar.gz bower moment#^2.11.2 resolved https://github.com/moment/moment.git#2.29.1 bower moment-timezone#^0.5.0 progress received 3.0MB of 12.6MB downloaded, 24% bower ui-leaflet#^1.0.0 progress received 2.0MB bower moment-timezone#^0.5.0 progress received 3.5MB of 12.6MB downloaded, 28% bower ui-leaflet#^1.0.0 progress received 2.3MB bower moment-timezone#^0.5.0 progress received 3.6MB of 12.6MB downloaded, 29% bower ui-leaflet#^1.0.0 progress received 2.4MB bower moment-timezone#^0.5.0 progress received 3.8MB of 12.6MB downloaded, 30% bower ui-leaflet#^1.0.0 progress received 2.7MB bower angular#1.4.3 extract archive.tar.gz bower angular#1.4.3 resolved https://github.com/angular/bower-angular.git#1.4.3 bower angular#1.5.3 extract archive.tar.gz bower angular#1.5.3 resolved https://github.com/angular/bower-angular.git#1.5.3 bower moment-timezone#^0.5.0 progress received 4.2MB of 12.6MB downloaded, 33% bower ui-leaflet#^1.0.0 progress received 3.1MB bower ui-leaflet#^1.0.0 extract archive.tar.gz bower moment-timezone#^0.5.0 progress received 4.7MB of 12.6MB downloaded, 37% bower ui-leaflet#^1.0.0 resolved https://github.com/angular-ui/ui-leaflet.git#1.0.3 bower moment-timezone#^0.5.0 progress received 5.2MB of 12.6MB downloaded, 41% bower angular-simple-logger#~0.1.4 not-cached https://github.com/nmccready/angular-simple-logger.git#~0.1.4 bower angular-simple-logger#~0.1.4 resolve https://github.com/nmccready/angular-simple-logger.git#~0.1.4 bower angular-simple-logger#~0.1.4 download https://github.com/nmccready/angular-simple-logger/archive/0.1.7.tar.gz bower moment-timezone#^0.5.0 progress received 5.7MB of 12.6MB downloaded, 45% bower angular-simple-logger#~0.1.4 extract archive.tar.gz bower moment-timezone#^0.5.0 progress received 6.4MB of 12.6MB downloaded, 51% bower angular-simple-logger#~0.1.4 resolved https://github.com/nmccready/angular-simple-logger.git#0.1.7 bower moment-timezone#^0.5.0 progress received 7.0MB of 12.6MB downloaded, 55% bower moment-timezone#^0.5.0 progress received 7.5MB of 12.6MB downloaded, 59% bower moment-timezone#^0.5.0 progress received 8.0MB of 12.6MB downloaded, 63% bower moment-timezone#^0.5.0 progress received 8.7MB of 12.6MB downloaded, 69% bower moment-timezone#^0.5.0 progress received 9.5MB of 12.6MB downloaded, 75% bower moment-timezone#^0.5.0 progress received 10.3MB of 12.6MB downloaded, 81% bower moment-timezone#^0.5.0 progress received 11.1MB of 12.6MB downloaded, 88% bower moment-timezone#^0.5.0 progress received 11.9MB of 12.6MB downloaded, 94% bower moment-timezone#^0.5.0 progress received 12.5MB of 12.6MB downloaded, 99% bower moment-timezone#^0.5.0 extract archive.tar.gz bower moment-timezone#^0.5.0 invalid-meta for:/tmp/fee653e74bd010b37630823217c588e9/bower/87f48d7c4646ec50a0339e33158bdd33-1421-pebofs/bower.json bower moment-timezone#^0.5.0 invalid-meta The "main" field cannot contain minified files bower moment-timezone#^0.5.0 resolved https://github.com/moment/moment-timezone.git#0.5.33 Please note that, ng-walkthrough#1.0.4 depends on angular#1.4.3 which resolved to angular#1.4.3 angular-cookies#1.4.14 depends on angular#1.4.14 which resolved to angular#1.4.14 angularLocalStorage#0.3.2 depends on angular#~1.4.7 which resolved to angular#1.4.14 angular-animate#1.5.3, angular-sanitize#1.5.3, ionic#1.3.1 depends on angular#1.5.3 which resolved to angular#1.5.3 angular-ui-router#0.2.13 depends on angular#>= 1.0.8 which resolved to angular#1.8.2 angular-nvd3#1.0.9 depends on angular#^1.x which resolved to angular#1.8.2 nz-tour#1.2.1 depends on angular#^1.2.8 which resolved to angular#1.8.2 angular-translate#2.18.4 depends on angular#>=1.2.26 <1.9 which resolved to angular#1.8.2 ui-leaflet#1.0.3 depends on angular#1.x which resolved to angular#1.8.2 angular-simple-logger#0.1.7 depends on angular#^1.2 which resolved to angular#1.8.2 Resort to using angular#1.5.3 which resolved to angular#1.5.3 Code incompatibilities may occur. bower angular-animate extra-resolution Unnecessary resolution: angular-animate#1.5.3 bower angular-sanitize extra-resolution Unnecessary resolution: angular-sanitize#1.5.3 bower skipped ionic was not installed because there is already a non-bower directory with that name in the components directory (www/lib/ionic). You can force installation with --force. bower ionic#1.3.1 install ionic#1.3.1 ionic#1.3.1 ../../root/.cache/bower/packages/75785deacc09255f971c33542b04c50a/1.3.1 ├── angular#1.8.2 ├── angular-animate#1.5.3 ├── angular-sanitize#1.5.3 └── angular-ui-router#0.2.13 About to fix autoreload script Replacing path.join(process.cwd(), 'www/../.') -> path.join(process.cwd(), 'www/js/**/*'), path.join(process.cwd(), 'www/templates/**/*') watches = [ path.join(process.cwd(), 'www/js/**/*'), path.join(process.cwd(), 'www/templates/**/*') ]; > edu.berkeley.eecs.emission@2.5.0 serve /src/e-mission-phone > phonegap --verbose serve How you use PhoneGap provides us with important data that we can use to make our products better. Please read our privacy policy for more information on the data we collect. http://www.adobe.com/privacy.html Analytics is off. If you would like to turn analytics on, simply run `phonegap analytics on` [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/download_translation.js /src/e-mission-phone [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/ios_use_apns_token.js /src/e-mission-phone /usr/bin/git Downloading locales: /src/e-mission-phone/bin/conf/translate_config.json not found, I will extract translate repo from translation_config.json.sample. Already up-to-date. [phonegap] Running command: /src/e-mission-phone/hooks/after_prepare/010_add_platform_class.js /src/e-mission-phone add to body class: platform-browser [phonegap] Running command: /src/e-mission-phone/hooks/after_prepare/015_copy_icon_to_drawable.js /src/e-mission-phone Android platform not specified, skipping... [phonegap] Running command: /src/e-mission-phone/hooks/after_prepare/020_copy_notification_icons.js /src/e-mission-phone Android platform not specified, skipping... [phonegap] starting app server... [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/download_translation.js /src/e-mission-phone [phonegap] listening on 172.28.0.2:3000 [phonegap] [phonegap] ctrl-c to stop the server [phonegap] [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/ios_use_apns_token.js /src/e-mission-phone /usr/bin/git Downloading locales: /src/e-mission-phone/bin/conf/translate_config.json not found, I will extract translate repo from translation_config.json.sample. Already up-to-date. [phonegap] Running command: /src/e-mission-phone/hooks/after_prepare/010_add_platform_class.js /src/e-mission-phone add to body class: platform-browser [phonegap] Running command: /src/e-mission-phone/hooks/after_prepare/015_copy_icon_to_drawable.js /src/e-mission-phone Android platform not specified, skipping... [phonegap] Running command: /src/e-mission-phone/hooks/after_prepare/020_copy_notification_icons.js /src/e-mission-phone Android platform not specified, skipping... [phonegap] 404 /json/version [phonegap] 301 /json ```
Ah! Because this bower
command is failing so the next command in the setup script doesn't work.
LMK fix in the server setup instead. I will also run on a new directory, so I don't get any false reassurance that everything works. Can you stay online for ~ 30 mins more so we can get this done?
Sure can do. :)
To resolve the bower
issues.
Are you going to have to rebuild emission/e-mission-phone.dev.ui-only
?
not really, the change is mainly in the phone setup, but it would be good to clean up the duplicate call to npx bower
in the docker container since it is not really needed any more.
Ok, I'm testing this now.
wait, have you merged the change from the phone branch into your fork + branch?
I'm testing the master branch, it didn't work before as well not just my own branches.
I hadn't even merged into master at that time, was waiting for CI to finish running!
Well, that explains this! :p
ok I can confirm that master works for me with a brand new directory mounted
Testing now..
It is working now! Thanks for your help @shankari!
No worries, @asiripanich and sorry for the confusion through not testing with a freshly mounted volume...
So I looked at your branch https://github.com/rciti/e-mission-phone/blob/rciti1setup-only/bower.json and it looks like the translate files are in the list They are also in the index.html https://github.com/rciti/e-mission-phone/blob/rciti1setup-only/www/index.html#L40
So are you still getting the same error above? Is that the only error?
Btw, any suggestion how I can fix this?
fix what? Are you still getting an error? My point about the translate files was that you were already including them, so you should not get an error 😄
fix what? Are you still getting an error? My point about the translate files was that you were already including them, so you should not get an error 😄
Well, I still get that error about missing the translate module. Anyway, I dont want to waste your time on this as it could be that I didnt do a good job cherry picking all the changes necessary for this to work.
@asiripanich you said
It is working now!
Is it not actually working? After the bower changes, the translate modules should be in www/lib
$ ls -1 www/lib/ | grep translate
angular-translate
angular-translate-interpolation-messageformat
angular-translate-loader-static-files
Your index.html
already has the changes to include them, so they should be loaded and work....
My docker compose devapp:
The error from Docker logs after a small UI change: