Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose - Live reload is not working #657

Closed
asiripanich opened this issue Aug 5, 2021 · 51 comments · Fixed by e-mission/e-mission-docker#18 or e-mission/e-mission-phone#776

Comments

@asiripanich
Copy link
Member

My docker compose devapp:

version: "3"
services:
  devapp-server:
    image: emission/e-mission-phone.dev.ui-only:latest
    environment:
      - PHONE_REPO=https://github.com/e-mission/e-mission-phone.git
      - PHONE_BRANCH=rciti1
      # 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/

The error from Docker logs after a small UI change:

[phonegap] [console.warn] Content Security Policy has been modified to be: <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com https://api.ionicjs.com https://pro-deploy.ionicjs.com https://nominatim.openstreetmap.org https://ee.kobotoolbox.org emission: 'unsafe-eval' * ws:;style-src 'self' 'unsafe-inline' data: blob:;script-src 'self' 'unsafe-inline' 'unsafe-eval' * data: blob:;img-src 'self' ionic: data: https://*.tile.openstreetmap.org https://ee.kobotoolbox.org 'unsafe-inline' * content:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] [console.warn] Content Security Policy has been added: <meta http-equiv="Content-Security-Policy" content="default-src * gap: ws: https://ssl.gstatic.com;img-src * 'self' data: content:;style-src 'self' 'unsafe-inline' data: blob:;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
[phonegap] 200 /__api__/appzip
[phonegap] file changed /src/e-mission-phone/www/templates/intro/login.html
[phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/download_translation.js /src/e-mission-phone
/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:101) 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:101) 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)
@shankari
Copy link
Contributor

shankari commented Aug 6, 2021

@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.

  • If you are primarily going to make changes to the intro screen, you may want to wait until I fix that (ETA Friday evening PDT).
  • If you are primarily going to make changes to the diary/label screens, I can commit the docker changes sooner.

@asiripanich
Copy link
Member Author

Both changes would be nice. Thanks! I can certainly wait.

@asiripanich
Copy link
Member Author

@WilliamChan4

@WilliamChan4
Copy link

WilliamChan4 commented Aug 6, 2021 via email

shankari added a commit to shankari/e-mission-docker that referenced this issue Aug 7, 2021
I originally wanted to put all the dependencies into the image instead of
waiting until the container was set up. But different branches could have
different dependencies and may not want to upgrade/downgrade. And putting this
into the container allows us to use the standard build scripts and not have
this bitrot.

This file had
ENV NODE_VERSION 9.4.0
RUN npm install -g npm@6.0.0

We are currently at

export NODE_VERSION=14.7.0
export NPM_VERSION=6.14.8

using the standard scripts, which are regularly tested via CI, allows us to
ensure that this dockerfile stays relevant across the many configurations that
we currently support.

This fixes e-mission/e-mission-docs#657
@shankari
Copy link
Contributor

shankari commented Aug 7, 2021

@asiripanich @WillamChan4

Docker changes are
e-mission/e-mission-docker#18

Phone changes to allow live-reload on the intro screen are at
e-mission/e-mission-phone#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.

@asiripanich
Copy link
Member Author

asiripanich commented Aug 7, 2021

@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)

@asiripanich
Copy link
Member Author

Ok I should have read what you mentioned above before making a comment. :)

@asiripanich
Copy link
Member Author

asiripanich commented Aug 7, 2021

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

@shankari
Copy link
Contributor

shankari commented Aug 7, 2021

that is an error in npm.
seems to be related to the node/npm version? https://stackoverflow.com/a/64229672/4040267 or npm/npm#19989 (comment)

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

@asiripanich
Copy link
Member Author

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.

@shankari
Copy link
Contributor

shankari commented Aug 7, 2021

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

https://github.com/e-mission/e-mission-docker/pull/18/files#diff-40415ee7bf82071d68fda4c771549fd253e1cd4109451703ed0fbfbe55c2e6d6L16

How did you rebuild and restart your container?

@asiripanich
Copy link
Member Author

docker-compose -f <path_to_docker-compose.yml> build --pull as suggessted in the README of e-mission-docker.

@shankari
Copy link
Contributor

shankari commented Aug 8, 2021

that is rebuild, how did you restart?

@asiripanich
Copy link
Member Author

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.

@asiripanich
Copy link
Member Author

Ok, I just make sure that emission/e-mission-phone.dev.ui-only is now on the lastest version, built 2 days ago.

@asiripanich
Copy link
Member Author

Ok, I can install the phone component now but I'm seeing a whitescreen because of this dep missing error.

image

@shankari
Copy link
Contributor

shankari commented Aug 8, 2021

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

@shankari
Copy link
Contributor

shankari commented Aug 8, 2021

That is the translation functionality added by FabMob.
e-mission/e-mission-phone@d8e0a27

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...

@asiripanich
Copy link
Member Author

I have tried both, with only setup files (rciti1setup-only branch) and merging all changes from master (rciti1setup). Neither of them works for me.

@shankari
Copy link
Contributor

shankari commented Aug 8, 2021

@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 e-mission/e-mission-phone@cc16088 instead of pulling all changes in intro.js

Also:

  • did you have the translate code in your branch already?
  • Is that the only error you are getting; or are there earlier errors?

@shankari
Copy link
Contributor

shankari commented Aug 8, 2021

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?

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

@asiripanich is it working now?

@asiripanich
Copy link
Member Author

@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.

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

@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.

@asiripanich
Copy link
Member Author

@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.

@asiripanich
Copy link
Member Author

asiripanich commented Aug 9, 2021

Phone

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/

Server

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:

Error

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

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

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?

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

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.

@asiripanich
Copy link
Member Author

Thanks! trying now.

@asiripanich
Copy link
Member Author

asiripanich commented Aug 9, 2021

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:

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

Docker log

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

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

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?

@asiripanich
Copy link
Member Author

Sure can do. :)

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

To resolve the bower issues.

@shankari shankari reopened this Aug 9, 2021
shankari added a commit to shankari/e-mission-phone that referenced this issue Aug 9, 2021
Without this change, we get the following error while running in a docker container

```
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.

You can however run a command with sudo using "--allow-root" option
```

Since the default user in the container is `root`, this is actually an expected
use case for us.

I tried to avoid this by calling `bower update --allow-root` in the docker
setup script e-mission/e-mission-docker#18

But that ran into multiple inconsistencies (
e-mission/e-mission-docs#657 (comment)
e-mission/e-mission-docs#657 (comment)
)

In order to avoid more bitrotted containers, just changing the code in the
setup script so it works in the container as well

This fixes e-mission/e-mission-docs#657
@asiripanich
Copy link
Member Author

Are you going to have to rebuild emission/e-mission-phone.dev.ui-only?

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

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.

@asiripanich
Copy link
Member Author

Ok, I'm testing this now.

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

wait, have you merged the change from the phone branch into your fork + branch?

@asiripanich
Copy link
Member Author

asiripanich commented Aug 9, 2021

I'm testing the master branch, it didn't work before as well not just my own branches.

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

I hadn't even merged into master at that time, was waiting for CI to finish running!

@asiripanich
Copy link
Member Author

asiripanich commented Aug 9, 2021

Well, that explains this! :p

image

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

ok I can confirm that master works for me with a brand new directory mounted

Docker logs
devapp-server_1  | Transition notify settings edit template updated
devapp-server_1  | Data collection settings template updated
devapp-server_1  | Sync collection settings template updated
devapp-server_1  | Transition notify settings updated
devapp-server_1  | Sync collection settings javascript updated
devapp-server_1  | Data collection settings javascript updated
devapp-server_1  | Transition notify settings display template updated
devapp-server_1  | About to copy files from setup/autoreload to node_modules/connect-phonegap
devapp-server_1  | Finished copying files from setup/autoreload to node_modules/connect-phonegap
devapp-server_1  | /start_devapp_serve.sh: line 20: bower: command not found
devapp-server_1  | Activating nvm
devapp-server_1  | Using version 14.7.0
devapp-server_1  | Now using node v14.7.0 (npm v6.14.7)
devapp-server_1  | npm version = 6.14.7
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  | About to fix autoreload script
devapp-server_1  | Replacing path.join(process.cwd(), 'www/../.') -> path.join(process.cwd(), 'www/js/**/*'), path.join(process.cwd(), 'www/templates/**/*')
devapp-server_1  |         watches = [ path.join(process.cwd(), 'www/js/**/*'), path.join(process.cwd(), 'www/templates/**/*') ];
devapp-server_1  |
devapp-server_1  | > edu.berkeley.eecs.emission@2.5.0 serve /src/e-mission-phone
devapp-server_1  | > phonegap --verbose serve
devapp-server_1  |
devapp-server_1  |
devapp-server_1  | How you use PhoneGap provides us with important data that we can use to make
devapp-server_1  | our products better. Please read our privacy policy for more information on the
devapp-server_1  | data we collect. http://www.adobe.com/privacy.html
devapp-server_1  |
devapp-server_1  | Analytics is off.
devapp-server_1  | If you would like to turn analytics on, simply run `phonegap analytics on`
devapp-server_1  |
devapp-server_1  | [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/download_translation.js /src/e-mission-phone
devapp-server_1  | [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/ios_use_apns_token.js /src/e-mission-phone
devapp-server_1  | /usr/bin/git
devapp-server_1  | Downloading locales: /src/e-mission-phone/bin/conf/translate_config.json not found, I will extract translate repo from translation_config.json.sample.
devapp-server_1  | Downloading locales: I will clone from https://github.com/e-mission/e-mission-translate
devapp-server_1  | Cloning into '/src/e-mission-phone/locales'...
devapp-server_1  | [phonegap] starting app server...
devapp-server_1  | [phonegap] listening on 192.168.16.2:3000
devapp-server_1  | [phonegap]
devapp-server_1  | [phonegap] ctrl-c to stop the server
devapp-server_1  | [phonegap]
devapp-server_1  | [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/download_translation.js /src/e-mission-phone
devapp-server_1  | [phonegap] Running command: /src/e-mission-phone/hooks/before_prepare/ios_use_apns_token.js /src/e-mission-phone

Screen Shot 2021-08-09 at 8 54 38 AM

@asiripanich
Copy link
Member Author

Testing now..

asiripanich pushed a commit to rciti/e-mission-phone that referenced this issue Aug 9, 2021
Without this change, we get the following error while running in a docker container

```
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.

You can however run a command with sudo using "--allow-root" option
```

Since the default user in the container is `root`, this is actually an expected
use case for us.

I tried to avoid this by calling `bower update --allow-root` in the docker
setup script e-mission/e-mission-docker#18

But that ran into multiple inconsistencies (
e-mission/e-mission-docs#657 (comment)
e-mission/e-mission-docs#657 (comment)
)

In order to avoid more bitrotted containers, just changing the code in the
setup script so it works in the container as well

This fixes e-mission/e-mission-docs#657
@asiripanich
Copy link
Member Author

It is working now! Thanks for your help @shankari!

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

No worries, @asiripanich and sorry for the confusion through not testing with a freshly mounted volume...

@asiripanich
Copy link
Member Author

asiripanich commented Aug 9, 2021

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?

@shankari
Copy link
Contributor

shankari commented Aug 9, 2021

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 😄

shankari added a commit to shankari/e-mission-docker that referenced this issue Aug 9, 2021
Duplicating the command led to multiple inconsistencies (
    e-mission/e-mission-docs#657 (comment)
    e-mission/e-mission-docs#657 (comment)
)

So I changed the code in the phone repo instead (e-mission/e-mission-phone#776)
and switched to using only the setup scripts here.
@asiripanich
Copy link
Member Author

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.

@shankari
Copy link
Contributor

@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....

@asiripanich
Copy link
Member Author

asiripanich commented Aug 10, 2021

Docker logs from running my rciti1setup-only phone branch.

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            rciti1setup-only -> FETCH_HEAD
Already on 'rciti1setup-only'
  % 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
100 13527  100 13527    0     0   2314      0  0:00:05  0:00:05 --:--:--  3121
Cloning into '/root/.nvm'...
Downloading https://nodejs.org/dist/v14.7.0/node-v14.7.0-linux-x64.tar.xz...

                                                                           0.0%
                                                                           0.5%
#                                                                          1.7%
#                                                                          2.5%
##                                                                         3.5%
##                                                                         4.1%
####                                                                       5.6%
#####                                                                      7.0%
#####                                                                      8.3%
######                                                                     9.3%
#######                                                                   10.2%
########                                                                  11.2%
########                                                                  12.1%
#########                                                                 13.1%
##########                                                                14.1%
##########                                                                15.0%
###########                                                               16.0%
############                                                              17.0%
############                                                              17.9%
#############                                                             18.9%
##############                                                            19.8%
###############                                                           20.8%
###############                                                           21.8%
################                                                          22.7%
#################                                                         23.7%
#################                                                         24.7%
##################                                                        25.6%
###################                                                       26.6%
###################                                                       27.6%
####################                                                      28.6%
#####################                                                     29.5%
#####################                                                     30.3%
######################                                                    30.8%
######################                                                    31.1%
#######################                                                   32.5%
########################                                                  33.4%
########################                                                  34.4%
#########################                                                 35.4%
##########################                                                36.4%
##########################                                                37.3%
###########################                                               38.3%
############################                                              39.3%
#############################                                             40.3%
#############################                                             41.2%
##############################                                            42.2%
###############################                                           43.1%
###############################                                           44.1%
################################                                          45.1%
#################################                                         46.1%
#################################                                         47.0%
##################################                                        48.0%
###################################                                       49.0%
###################################                                       49.9%
####################################                                      50.9%
#####################################                                     51.8%
######################################                                    52.8%
######################################                                    53.8%
#######################################                                   54.8%
########################################                                  55.6%
########################################                                  56.8%
#########################################                                 57.6%
##########################################                                58.9%
##########################################                                59.7%
###########################################                               61.0%
############################################                              61.9%
#############################################                             62.9%
#############################################                             63.8%
##############################################                            64.8%
###############################################                           65.7%
################################################                          67.0%
#################################################                         68.3%
##################################################                        69.6%
###################################################                       70.9%
####################################################                      72.3%
####################################################                      73.6%
#####################################################                     75.0%
######################################################                    76.1%
#######################################################                   77.2%
########################################################                  78.5%
#########################################################                 79.9%
##########################################################                81.2%
###########################################################               82.5%
###########################################################               83.1%
############################################################              84.5%
#############################################################             85.4%
##############################################################            86.4%
##############################################################            87.4%
###############################################################           88.3%
################################################################          89.3%
#################################################################         90.3%
#################################################################         91.2%
##################################################################        92.2%
###################################################################       93.2%
###################################################################       94.1%
####################################################################      95.1%
#####################################################################     96.1%
#####################################################################     97.0%
######################################################################    98.0%
#######################################################################   99.0%
#######################################################################   99.9%
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
v14.7.0 is already installed.

Cloning from repo https://github.com/rciti/e-mission-phone.git and branch rciti1setup-only
Your branch is up-to-date with 'origin/rciti1setup-only'.
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...
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
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 edu.berkeley.eecs.emission@2.5.0 No repository field.

npm WARN edu.berkeley.eecs.emission@2.5.0 No license field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})



+ npm@6.14.8
added 1028 packages from 1137 contributors, removed 514 packages, updated 242 packages and audited 1580 packages in 42.701s


2 packages are looking for funding
  run `npm fund` for details


found 526 vulnerabilities (146 low, 206 moderate, 173 high, 1 critical)
  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 har-validator@5.1.5: this library is no longer supported

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 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@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 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 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 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 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 chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.

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 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 404 packages from 228 contributors, removed 920 packages, updated 242 packages, moved 108 packages and audited 998 packages in 70.72s


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 ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1       not-cached git://github.com/rajeshwarpatlolla/ionic-datepicker.git#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1
bower ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1          resolve git://github.com/rajeshwarpatlolla/ionic-datepicker.git#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1

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 ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1         download https://github.com/rajeshwarpatlolla/ionic-datepicker/archive/d87c2ffc09d31d0468740ddff6b91e8b2c0635d1.tar.gz

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 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 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-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 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 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 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 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 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-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 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 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 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-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.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 ionic#1.3.1                                                       download https://github.com/driftyco/ionic-bower/archive/v1.3.1.tar.gz

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 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 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 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 string.startsWith#*                                             not-cached https://github.com/MathRobin/string.startsWith.git#*
bower string.startsWith#*                                                resolve https://github.com/MathRobin/string.startsWith.git#*

bower ionic-platform-web-client#0.7.0                                 not-cached https://github.com/driftyco/ionic-platform-web-client.git#0.7.0
bower ionic-platform-web-client#0.7.0                                    resolve https://github.com/driftyco/ionic-platform-web-client.git#0.7.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 ngCordova#^0.1.24-alpha                                         not-cached https://github.com/driftyco/ng-cordova.git#^0.1.24-alpha
bower ngCordova#^0.1.24-alpha                                            resolve https://github.com/driftyco/ng-cordova.git#^0.1.24-alpha

bower ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1          extract archive.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 ng-walkthrough#^1.0.0                                             download https://github.com/souly1/ng-walkthrough/archive/v1.0.4.tar.gz

bower angular-translate#^2.18.1                                         download https://github.com/PascalPrecht/bower-angular-translate/archive/2.18.4.tar.gz

bower angular-nvd3#^1.0.7                                               download https://github.com/krispo/angular-nvd3/archive/v1.0.9.tar.gz

bower jquery#^3.1.0                                                     download https://github.com/jquery/jquery-dist/archive/3.6.0.tar.gz

bower ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1     invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/e7448d665d997674bc1377b887f61887-1163-tnAV8o/bower.json
bower ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1     invalid-meta The "main" field cannot contain minified files

bower ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1         resolved git://github.com/rajeshwarpatlolla/ionic-datepicker.git#d87c2ffc09

bower moment-timezone#^0.5.0                                            download https://github.com/moment/moment-timezone/archive/0.5.33.tar.gz

bower angularjs-slider#^6.2.2                                           download https://github.com/rzajac/angularjs-slider/archive/6.7.0.tar.gz

bower animate.css#^3.5.2                                                download https://github.com/daneden/animate.css/archive/3.7.2.tar.gz

bower angular-nvd3#^1.0.7                                                extract archive.tar.gz

bower angular-nvd3#^1.0.7                                               resolved https://github.com/krispo/angular-nvd3.git#1.0.9

bower angular-animate#1.5.3                                             download https://github.com/angular/bower-angular-animate/archive/v1.5.3.tar.gz

bower moment#^2.11.2                                                    download https://github.com/moment/moment/archive/2.29.1.tar.gz

bower jquery#^3.1.0                                                      extract archive.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 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 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 angular-ui-router#0.2.13                                          download https://github.com/angular-ui/angular-ui-router-bower/archive/0.2.13.tar.gz

bower jquery#^3.1.0                                                     resolved https://github.com/jquery/jquery-dist.git#3.6.0

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 angular-translate#~2.18.4                                       not-cached https://github.com/PascalPrecht/bower-angular-translate.git#~2.18.4
bower angular-translate#~2.18.4                                          resolve https://github.com/PascalPrecht/bower-angular-translate.git#~2.18.4

bower angular-translate#~2.18.4                                         download https://github.com/PascalPrecht/bower-angular-translate/archive/2.18.4.tar.gz

bower angular-sanitize#1.5.3                                            download https://github.com/angular/bower-angular-sanitize/archive/v1.5.3.tar.gz

bower Leaflet.awesome-markers#^2.0.2                                    download https://github.com/lvoogdt/Leaflet.awesome-markers/archive/v2.0.2.tar.gz

bower angularLocalStorage#^0.3.2                                        download https://github.com/agrublev/angularLocalStorage/archive/0.3.2.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 nz-tour#^1.2.1                                                    download https://github.com/nozzle/nzTour/archive/v1.2.1.tar.gz

bower animate.css#^3.5.2                                                 extract archive.tar.gz

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 ui-leaflet#^1.0.0                                                 download https://github.com/angular-ui/ui-leaflet/archive/v1.0.3.tar.gz

bower animate.css#^3.5.2                                                resolved https://github.com/daneden/animate.css.git#3.7.2

bower ionic-toast#^0.2.0                                                download https://github.com/rajeshwarpatlolla/ionic-toast/archive/v0.2.0.tar.gz

bower string.startsWith#*                                               download https://github.com/MathRobin/string.startsWith/archive/master.tar.gz

bower angularjs-slider#^6.2.2                                            extract archive.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 angularjs-slider#^6.2.2                                           resolved https://github.com/rzajac/angularjs-slider.git#6.7.0

bower angular-translate#~2.18.4                                          extract archive.tar.gz

bower angular-ui-router#0.2.13                                           extract archive.tar.gz

bower leaflet-plugins#^3.0.0                                            download https://github.com/shramov/leaflet-plugins/archive/3.4.0.tar.gz

bower angular-translate#~2.18.4                                         resolved https://github.com/PascalPrecht/bower-angular-translate.git#2.18.4

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 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 ng-walkthrough#^1.0.0                                              extract archive.tar.gz

bower ng-walkthrough#^1.0.0                                         invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/1a7d084f7533264db105b12d16d0de44-1163-tbrNWJ/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 ngCordova#^0.1.24-alpha                                           download https://github.com/driftyco/ng-cordova/archive/v0.1.27-alpha.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 nz-tour#^1.2.1                                                     extract archive.tar.gz

bower d3#^3.3.13                                                        download https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.tar.gz

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/1be9429e3c699c14e2b61b0a30534a20/bower/58b7cb354970fa0a6d739d41b11bd69a-1163-LSE8aM/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.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 string.startsWith#*                                                extract archive.tar.gz

bower string.startsWith#*                                           invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/674b91c6b9df0fab243c83349c2a6394-1163-BocjGx/bower.json
bower string.startsWith#*                                           invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes

bower string.startsWith#*                                               resolved https://github.com/MathRobin/string.startsWith.git#bf85d79ccb

bower ionic#1.3.1                                                        extract archive.tar.gz

bower ionic-toast#^0.2.0                                                 extract archive.tar.gz

bower nvd3#^1.7.1                                                       download https://github.com/novus/nvd3/archive/v1.8.6.tar.gz

bower ionic-toast#^0.2.0                                                resolved https://github.com/rajeshwarpatlolla/ionic-toast.git#0.2.0

bower ionic#1.3.1                                                   invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/bf2802b39384aa9e0b0a44f3fe9ee12a-1163-m9RLWJ/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 messageformat#~1.0.2                                              download https://github.com/SlexAxton/messageformat.js/archive/v1.0.2.tar.gz

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 leaflet#^0.7.7                                                     extract archive.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.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.x                                                      download https://github.com/angular/bower-angular/archive/v1.8.2.tar.gz

bower d3#^3.3.13                                                         extract archive.tar.gz

bower d3#^3.3.13                                                        resolved https://github.com/mbostock-bower/d3-bower.git#3.5.17

bower leaflet#^0.7.7                                                invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/1f6f5327375de395359cc797e6906547-1163-7Y945V/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 leaflet#^0.7.7                                                    resolved https://github.com/Leaflet/Leaflet.git#0.7.7

bower leaflet-plugins#^3.0.0                                             extract archive.tar.gz

bower leaflet-plugins#^3.0.0                                            resolved https://github.com/shramov/leaflet-plugins.git#3.4.0

bower moment#^2.11.2                                                     extract archive.tar.gz

bower angular-cookies#~1.4.7                                            download https://github.com/angular/bower-angular-cookies/archive/v1.4.14.tar.gz

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 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 Leaflet.awesome-markers#^2.0.2                                     extract archive.tar.gz

bower Leaflet.awesome-markers#^2.0.2                                invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/30dc442c64cca339b43ac19599ae3bdb-1163-e4WGy7/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 moment#^2.11.2                                                    resolved https://github.com/moment/moment.git#2.29.1

bower nvd3#^1.7.1                                                        extract archive.tar.gz

bower angular#~1.4.7                                                     extract archive.tar.gz

bower angular#~1.4.7                                                    resolved https://github.com/angular/bower-angular.git#1.4.14

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 angular#>=1.2.26 <1.9                                              extract archive.tar.gz

bower nvd3#^1.7.1                                                       resolved https://github.com/novus/nvd3.git#1.8.6

bower angular#>=1.2.26 <1.9                                             resolved https://github.com/angular/bower-angular.git#1.8.2

bower angular#^1.x                                                       extract archive.tar.gz

bower angular#^1.x                                                      resolved https://github.com/angular/bower-angular.git#1.8.2

bower moment-timezone#^0.5.0                                            progress received 2.1MB of 12.6MB downloaded, 16%

bower moment-timezone#^0.5.0                                            progress received 2.6MB of 12.6MB downloaded, 21%

bower ui-leaflet#^1.0.0                                                  extract archive.tar.gz

bower moment-timezone#^0.5.0                                            progress received 3.3MB of 12.6MB downloaded, 26%

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 4.3MB of 12.6MB downloaded, 34%

bower ngCordova#^0.1.24-alpha                                            extract archive.tar.gz

bower moment-timezone#^0.5.0                                            progress received 5.8MB of 12.6MB downloaded, 46%

bower ngCordova#^0.1.24-alpha                                       invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/50422a025dd8b1b526b137f375aedfb5-1163-tQRYJ2/bower.json
bower ngCordova#^0.1.24-alpha                                       invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes

bower ngCordova#^0.1.24-alpha                                           resolved https://github.com/driftyco/ng-cordova.git#0.1.27-alpha

bower moment-timezone#^0.5.0                                            progress received 7.6MB of 12.6MB downloaded, 60%

bower moment-timezone#^0.5.0                                            progress received 9.4MB of 12.6MB downloaded, 74%

bower moment-timezone#^0.5.0                                            progress received 11.1MB of 12.6MB downloaded, 88%

bower moment-timezone#^0.5.0                                             extract archive.tar.gz

bower moment-timezone#^0.5.0                                        invalid-meta for:/tmp/1be9429e3c699c14e2b61b0a30534a20/bower/87f48d7c4646ec50a0339e33158bdd33-1163-TJ5T5n/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

bower ionic-platform-web-client#0.7.0                                    ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/driftyco/ionic-platform-web-client.git", exit code of #128 remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/driftyco/ionic-platform-web-client.git/'

Additional error details:
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/driftyco/ionic-platform-web-client.git/'

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 string.startsWith#*   not-cached https://github.com/MathRobin/string.startsWith.git#*
bower string.startsWith#*      resolve https://github.com/MathRobin/string.startsWith.git#*

bower ionic-platform-web-client#0.7.0       not-cached https://github.com/driftyco/ionic-platform-web-client.git#0.7.0
bower ionic-platform-web-client#0.7.0          resolve https://github.com/driftyco/ionic-platform-web-client.git#0.7.0

bower ionic#1.3.1                               cached https://github.com/driftyco/ionic-bower.git#1.3.1
bower ionic#1.3.1                             validate 1.3.1 against https://github.com/driftyco/ionic-bower.git#1.3.1

bower ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1           cached git://github.com/rajeshwarpatlolla/ionic-datepicker.git#d87c2ffc09
bower ionic-datepicker#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1         validate d87c2ffc09 against git://github.com/rajeshwarpatlolla/ionic-datepicker.git#d87c2ffc09d31d0468740ddff6b91e8b2c0635d1

bower angular-nvd3#^1.0.7                                                 cached https://github.com/krispo/angular-nvd3.git#1.0.9
bower angular-nvd3#^1.0.7                                               validate 1.0.9 against https://github.com/krispo/angular-nvd3.git#^1.0.7

bower ng-walkthrough#^1.0.0                                               cached https://github.com/souly1/ng-walkthrough.git#1.0.4
bower ng-walkthrough#^1.0.0                                             validate 1.0.4 against https://github.com/souly1/ng-walkthrough.git#^1.0.0

bower angularLocalStorage#^0.3.2                                          cached https://github.com/agrublev/angularLocalStorage.git#0.3.2
bower angularLocalStorage#^0.3.2                                        validate 0.3.2 against https://github.com/agrublev/angularLocalStorage.git#^0.3.2

bower animate.css#^3.5.2                                                  cached https://github.com/daneden/animate.css.git#3.7.2
bower animate.css#^3.5.2                                                validate 3.7.2 against https://github.com/daneden/animate.css.git#^3.5.2

bower nz-tour#^1.2.1                                                      cached https://github.com/nozzle/nzTour.git#1.2.1
bower nz-tour#^1.2.1                                                    validate 1.2.1 against https://github.com/nozzle/nzTour.git#^1.2.1

bower jquery#^3.1.0                                                       cached https://github.com/jquery/jquery-dist.git#3.6.0
bower jquery#^3.1.0                                                     validate 3.6.0 against https://github.com/jquery/jquery-dist.git#^3.1.0

bower leaflet-plugins#^3.0.0                                              cached https://github.com/shramov/leaflet-plugins.git#3.4.0
bower leaflet-plugins#^3.0.0                                            validate 3.4.0 against https://github.com/shramov/leaflet-plugins.git#^3.0.0

bower angularjs-slider#^6.2.2                                             cached https://github.com/rzajac/angularjs-slider.git#6.7.0
bower angularjs-slider#^6.2.2                                           validate 6.7.0 against https://github.com/rzajac/angularjs-slider.git#^6.2.2

bower angular-translate#^2.18.1                                           cached https://github.com/PascalPrecht/bower-angular-translate.git#2.18.4
bower angular-translate#^2.18.1                                         validate 2.18.4 against https://github.com/PascalPrecht/bower-angular-translate.git#^2.18.1

bower angular-translate-loader-static-files#^2.18.1                       cached https://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#2.18.4
bower angular-translate-loader-static-files#^2.18.1                     validate 2.18.4 against https://github.com/PascalPrecht/bower-angular-translate-loader-static-files.git#^2.18.1

bower angular-translate-interpolation-messageformat#^2.18.1               cached https://github.com/PascalPrecht/bower-angular-translate-interpolation-messageformat.git#2.18.4
bower angular-translate-interpolation-messageformat#^2.18.1             validate 2.18.4 against https://github.com/PascalPrecht/bower-angular-translate-interpolation-messageformat.git#^2.18.1

bower ionic-toast#^0.2.0                                                  cached https://github.com/rajeshwarpatlolla/ionic-toast.git#0.2.0
bower ionic-toast#^0.2.0                                                validate 0.2.0 against https://github.com/rajeshwarpatlolla/ionic-toast.git#^0.2.0

bower ngCordova#^0.1.24-alpha                                             cached https://github.com/driftyco/ng-cordova.git#0.1.27-alpha
bower ngCordova#^0.1.24-alpha                                           validate 0.1.27-alpha against https://github.com/driftyco/ng-cordova.git#^0.1.24-alpha

bower moment#^2.11.2                                                      cached https://github.com/moment/moment.git#2.29.1
bower moment#^2.11.2                                                    validate 2.29.1 against https://github.com/moment/moment.git#^2.11.2

bower moment-timezone#^0.5.0                                              cached https://github.com/moment/moment-timezone.git#0.5.33
bower moment-timezone#^0.5.0                                            validate 0.5.33 against https://github.com/moment/moment-timezone.git#^0.5.0

bower leaflet#^0.7.7                                                      cached https://github.com/Leaflet/Leaflet.git#0.7.7
bower leaflet#^0.7.7                                                    validate 0.7.7 against https://github.com/Leaflet/Leaflet.git#^0.7.7

bower ui-leaflet#^1.0.0                                                   cached https://github.com/angular-ui/ui-leaflet.git#1.0.3
bower ui-leaflet#^1.0.0                                                 validate 1.0.3 against https://github.com/angular-ui/ui-leaflet.git#^1.0.0

bower Leaflet.awesome-markers#^2.0.2                                      cached https://github.com/lvoogdt/Leaflet.awesome-markers.git#2.0.2
bower Leaflet.awesome-markers#^2.0.2                                    validate 2.0.2 against https://github.com/lvoogdt/Leaflet.awesome-markers.git#^2.0.2

bower angular-animate#1.5.3                                               cached https://github.com/angular/bower-angular-animate.git#1.5.3
bower angular-animate#1.5.3                                             validate 1.5.3 against https://github.com/angular/bower-angular-animate.git#1.5.3

bower angular-sanitize#1.5.3                                              cached https://github.com/angular/bower-angular-sanitize.git#1.5.3
bower angular-sanitize#1.5.3                                            validate 1.5.3 against https://github.com/angular/bower-angular-sanitize.git#1.5.3

bower angular-ui-router#0.2.13                                            cached https://github.com/angular-ui/angular-ui-router-bower.git#0.2.13
bower angular-ui-router#0.2.13                                          validate 0.2.13 against https://github.com/angular-ui/angular-ui-router-bower.git#0.2.13

bower string.startsWith#*                                               download https://github.com/MathRobin/string.startsWith/archive/master.tar.gz

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 d3#^3.3.13                                                          cached https://github.com/mbostock-bower/d3-bower.git#3.5.17
bower d3#^3.3.13                                                        validate 3.5.17 against https://github.com/mbostock-bower/d3-bower.git#^3.3.13

bower nvd3#^1.7.1                                                         cached https://github.com/novus/nvd3.git#1.8.6
bower nvd3#^1.7.1                                                       validate 1.8.6 against https://github.com/novus/nvd3.git#^1.7.1

bower angular#~1.4.7                                                      cached https://github.com/angular/bower-angular.git#1.4.14
bower angular#~1.4.7                                                    validate 1.4.14 against https://github.com/angular/bower-angular.git#~1.4.7

bower angular-cookies#~1.4.7                                              cached https://github.com/angular/bower-angular-cookies.git#1.4.14
bower angular-cookies#~1.4.7                                            validate 1.4.14 against https://github.com/angular/bower-angular-cookies.git#~1.4.7

bower string.startsWith#*                                                extract archive.tar.gz

bower string.startsWith#*                                           invalid-meta for:/tmp/3741b9c90ecb78748abcb7b1449a2031/bower/674b91c6b9df0fab243c83349c2a6394-1573-UfVf6P/bower.json

bower string.startsWith#*                                           invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes

bower string.startsWith#*                                               resolved https://github.com/MathRobin/string.startsWith.git#bf85d79ccb

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 messageformat#~1.0.2                                                cached https://github.com/SlexAxton/messageformat.js.git#1.0.2
bower messageformat#~1.0.2                                              validate 1.0.2 against https://github.com/SlexAxton/messageformat.js.git#~1.0.2

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#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 angular-simple-logger#~0.1.4                                      download https://github.com/nmccready/angular-simple-logger/archive/0.1.7.tar.gz

bower angular-simple-logger#~0.1.4                                       extract archive.tar.gz

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 angular#1.4.3                                                      extract archive.tar.gz

bower angular-simple-logger#~0.1.4                                      resolved https://github.com/nmccready/angular-simple-logger.git#0.1.7

bower angular#1.4.3                                                     resolved https://github.com/angular/bower-angular.git#1.4.3

bower ionic-platform-web-client#0.7.0                                    ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/driftyco/ionic-platform-web-client.git", exit code of #128 remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/driftyco/ionic-platform-web-client.git/'

Additional error details:
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/driftyco/ionic-platform-web-client.git/'

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/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] Running command: /src/e-mission-phone/package-hooks/ios9_allow_http.sh /src/e-mission-phone

[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.27.0.2:3000

[phonegap] 
[phonegap] ctrl-c to stop the server
[phonegap] 

[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] Running command: /src/e-mission-phone/package-hooks/ios9_allow_http.sh /src/e-mission-phone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants