[Main Page]

Installing AngularJS web client

_.-~= Installing AngularJS web client
Mon Jun 24 04:33:38 EDT 2019
Running npm install:
npm WARN notice [SECURITY] lodash has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=lodash&version=3.10.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=debug&version=2.3.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=debug&version=2.2.0 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] ws has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=ws&version=1.1.2 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
npm WARN deprecated mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest version.
npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.

> phantomjs-prebuilt@2.1.16 install /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...

Received 22866K total.
Extracting tar contents (via spawned process)
Removing /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1561365250503/phantomjs-2.1.1-linux-x86_64 -> /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> core-js@2.6.9 postinstall /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> uglifyjs-webpack-plugin@0.4.6 postinstall /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN evergreen-staff-client@0.0.1 No repository field.
npm WARN evergreen-staff-client@0.0.1 license should be a valid SPDX license expression
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 687 packages in 39.73s
Return Value = 0
Running npm run build-prod:

> evergreen-staff-client@0.0.1 build-prod /home/test/Evergreen/Open-ILS/web/js/ui/default/staff
> webpack --env.prod

clean-webpack-plugin: /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/build has been removed.
Hash: ac75d44e36d25bf3b5f0
Version: webpack 3.12.0
Time: 9594ms
                                   Asset       Size  Chunks                    Chunk Names
                       images/sample.png    73.9 kB          [emitted]         
                       js/core.bundle.js    68.1 kB       0  [emitted]         core
                     css/hotkeys.min.css    1.35 kB          [emitted]         
     ../../common/build/js/jquery.min.js    88.1 kB          [emitted]         
                     css/ngToast.min.css    1.28 kB          [emitted]         
                   css/bootstrap.min.css     121 kB          [emitted]         
          css/ngToast-animations.min.css    2.87 kB          [emitted]         
                    css/tree-control.css    3.94 kB          [emitted]         
          css/tree-control-attribute.css    3.73 kB          [emitted]         
                       css/tablesort.css    1.07 kB          [emitted]         
  fonts/glyphicons-halflings-regular.eot    20.1 kB          [emitted]         
  fonts/glyphicons-halflings-regular.svg     109 kB          [emitted]         
  fonts/glyphicons-halflings-regular.ttf    45.4 kB          [emitted]         
 fonts/glyphicons-halflings-regular.woff    23.4 kB          [emitted]         
fonts/glyphicons-halflings-regular.woff2      18 kB          [emitted]         
                     js/vendor.bundle.js     387 kB       1  [emitted]  [big]  vendor
                images/node-opened-2.png    2.86 kB          [emitted]         
                  images/node-closed.png    2.87 kB          [emitted]         
                       images/folder.png  289 bytes          [emitted]         
            images/node-closed-light.png    2.86 kB          [emitted]         
                  images/node-opened.png    2.86 kB          [emitted]         
            images/node-opened-light.png    2.86 kB          [emitted]         
                images/folder-closed.png  281 bytes          [emitted]         
                images/node-closed-2.png    2.87 kB          [emitted]         
                         images/file.png  263 bytes          [emitted]         
           js/moment-with-locales.min.js     336 kB          [emitted]  [big]  
     js/moment-timezone-with-data.min.js     931 kB          [emitted]  [big]  
   js/iframeResizer.contentWindow.min.js    13.8 kB          [emitted]         
                 js/iframeResizer.min.js    12.7 kB          [emitted]         
                     js/lovefield.min.js     142 kB          [emitted]         
   [0] multi ./services/core.js ./services/strings.js ./services/idl.js ./services/event.js ./services/net.js ./services/auth.js ./services/pcrud.js ./services/env.js ./services/org.js ./services/startup.js ./services/hatch.js ./services/print.js ./services/audio.js ./services/coresvc.js ./services/user.js ./services/navbar.js ./services/ui.js ./services/i18n.js ./services/date.js ./services/op_change.js ./services/lovefield.js 268 bytes {0} [built]
   [2] ./services/strings.js 2.03 kB {0} [built]
   [4] ./services/event.js 1.69 kB {0} [built]
   [5] ./services/net.js 5.06 kB {0} [built]
   [6] ./services/auth.js 16.6 kB {0} [built]
   [7] ./services/pcrud.js 10.2 kB {0} [built]
   [8] ./services/env.js 7.72 kB {0} [built]
   [9] ./services/org.js 5.46 kB {0} [built]
  [10] ./services/startup.js 4.81 kB {0} [built]
  [11] ./services/hatch.js 30.1 kB {0} [built]
  [12] ./services/print.js 11.7 kB {0} [built]
  [13] ./services/audio.js 2.61 kB {0} [built]
  [14] ./services/coresvc.js 983 bytes {0} [built]
  [15] ./services/user.js 2.72 kB {0} [built]
  [22] multi angular angular-route angular-ui-bootstrap angular-hotkeys angular-file-saver angular-location-update angular-animate angular-sanitize angular-cookies ng-toast angular-tree-control angular-tree-control/context-menu.js angular-order-object-by angular-tablesort 184 bytes {1} [built]
    + 29 hidden modules
Return Value = 0
Running npm run test:

> evergreen-staff-client@0.0.1 test /home/test/Evergreen/Open-ILS/web/js/ui/default/staff
> npm run create-mock-idl ; karma start test/karma.conf --single-run; npm run remove-mock-idl


> evergreen-staff-client@0.0.1 create-mock-idl /home/test/Evergreen/Open-ILS/web/js/ui/default/staff
> cd test/data && perl idl2js.pl

24 06 2019 04:34:35.520:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
24 06 2019 04:34:35.524:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
24 06 2019 04:34:35.531:INFO [launcher]: Starting browser PhantomJS
24 06 2019 04:34:39.484:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket SK5pVisFV9dnjRQ4AAAA with id 5558203
24 06 2019 04:34:39.931:WARN [web-server]: 404: /js/ui/default/staff/offline-db-worker.js

  egIDL
    ✓ should parse the IDL
    ✓ should create an aou object
    ✓ should create an aou object with accessor/mutators

  egOrg
    ✓ should provide get by ID
    ✓ should provide get by node
    ✓ should provide ancestors
    ✓ should provide descendants
    ✓ should provide full path
    ✓ should provide root

  egCore
    ✓ should wrap services
    ✓ should wrap services
    ✓ should not wrap non-services

  egDate
    ✓ should parse a simple interval
    ✓ should parse a combined interval
    ✓ should parse a time interval
24 06 2019 04:34:40.139:WARN [web-server]: 404: /js/ui/default/staff/offline-db-worker.js

  egEvent
    ✓ should parse an event object
    ✓ should not parse a non-event
    ✓ should not parse a non-event
    ✓ should not parse a non-event
    ✓ should not parse a non-event
    ✓ should not parse a non-event
    ✓ should stringify an event

  egGridColumnsProvider
    ✓ expand eg-grid-field wildcard paths
DEBUG LOG: 'getting item: eg.workstation.all'

  egHomeControllers
    ✓ should focus the login controller
DEBUG LOG: 'getting item: eg.circ.patron.summary.collapse'

  egPatronAppTest
    patronSvcTests
      ✓ patronSvc should start with empty lists
DEBUG LOG: 'getting item: eg.circ.patron.summary.collapse'
      ✓ patronSvc reset should clear data

  egReporterTest
    egReportTemplateSvcTests
      ✓ egReportTemplateSvc should start with empty lists
LOG LOG: 'changeCoreSource: au'
DEBUG LOG: 'setTop: au'
    egReporterTemplateEditTests
      ✓ initialize and set core source for ReporterTemplateEdit
      ✓ LP#1721807: construct join key correctly when using virtual field
    egReporterTemplateConversionTests
      ✓ initialize for template conversion tests
LOG LOG: 'changeCoreSource: bre'
DEBUG LOG: 'setTop: bre'
      ✓ test template conversion does not crash

  egStrings
    ✓ should interpolate values

  egVolCopyTest
    itemSvcTests
      ✓ itemSvc should start with empty lists
      ✓ itemSvc.convert_xul_templates converts copy templates as expected

PhantomJS 2.1.1 (Linux 0.0.0): Executed 34 of 34 SUCCESS (0.475 secs / 0.509 secs)
TOTAL: 34 SUCCESS


> evergreen-staff-client@0.0.1 remove-mock-idl /home/test/Evergreen/Open-ILS/web/js/ui/default/staff
> rm test/data/IDL2js.js

Return Value = 0
Return Value = 0
End of Installing AngularJS web client =~-._