[Evergreen-dev] Angular eg2 install and build errors

Josh Stompro stomproj at gsuite.larl.org
Thu Oct 15 17:19:14 EDT 2020


Hello, I'm trying to test out the curbside module using the branch for 3.3
at
https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/miker/lp1879983_curbside_pickup_pr_3_3

I'm using a Debian Jessie system and I'm running into errors with the
Install Angular steps.

4.3. Install Angular files for web staff client

   1.

   Building, Testing, Minification: The remaining steps all take place
   within the Angular staff root:

   cd $EVERGREEN_ROOT/Open-ILS/src/eg2/

   2.

   Install Project-local Dependencies. npm inspects the *package.json* file
   for dependencies and fetches them from the Node package network.

   npm install   # fetch JS dependencies

   3.

   Run the build script.

   # build and run tests
   ng build --prod
   npm run test


These are the results I get:

opensrf at virt-egdev1:~/Evergreen/Open-ILS/src/eg2$ npm install
npm WARN ajv-keywords at 3.5.2 requires a peer of ajv@^6.9.1 but none is
installed. You must install peer dependencies yourself.
npm WARN codelyzer at 4.2.1 requires a peer of @angular/compiler@>=2.3.1
<7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer
dependencies yourself.
npm WARN codelyzer at 4.2.1 requires a peer of @angular/core@>=2.3.1 <7.0.0 ||
>6.0.0-beta <7.0.0 but none is installed. You must install peer
dependencies yourself.
npm WARN codelyzer at 4.2.1 requires a peer of
@angular/platform-browser-dynamic@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but
none is installed. You must install peer dependencies yourself.
npm WARN codelyzer at 4.2.1 requires a peer of @angular/platform-browser@>=2.3.1
<7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer
dependencies yourself.
npm WARN codelyzer at 4.2.1 requires a peer of @angular/common@>=2.3.1 <7.0.0
|| >6.0.0-beta <7.0.0 but none is installed. You must install peer
dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents at 2.1.3
(node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
fsevents at 2.1.3: wanted {"os":"darwin","arch":"any"} (current:
{"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents at 1.2.13
(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
fsevents at 1.2.13: wanted {"os":"darwin","arch":"any"} (current:
{"os":"linux","arch":"x64"})

added 8 packages and updated 66 packages in 23.375s
opensrf at virt-egdev1:~/Evergreen/Open-ILS/src/eg2$ ng build --prod
module.js:549
    throw err;
    ^

Error: Cannot find module '@angular-devkit/core'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous>
(/usr/local/lib/node_modules/@angular/cli/lib/init.js:13:16)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)


Thanks
Josh

-- 
Josh Stompro - IT Director
Lake Agassiz Regional Library
Desk: 218-233-3757 Ext 139
Cell: 218-790-2110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-dev/attachments/20201015/97c1f550/attachment.html>


More information about the Evergreen-dev mailing list