[Evergreen-dev] Angular eg2 install and build errors
Julian Clementson
Julian.Clementson at openathens.net
Fri Oct 16 04:16:52 EDT 2020
Possibly node_modules has got mixed up from installing previous versions. I would try:
rm -rf node_modules
and then try again from npm install onwards.
Good luck!
Regards,
Julian
From: Evergreen-dev <evergreen-dev-bounces at list.evergreen-ils.org>
Date: Thursday, 15 October 2020 at 22:19
To: evergreen-dev at list.evergreen-ils.org <evergreen-dev at list.evergreen-ils.org>
Subject: [Evergreen-dev] Angular eg2 install and build errors
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/
1. 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
1. Run the build script.
4. # build and run tests
5. 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
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under company number. 05747339, VAT number GB 197 0632 86. Jisc's registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 02881024, VAT number GB 197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.
Jisc Commercial Limited is a wholly owned Jisc subsidiary and a company limited by shares which is registered in England under company number 09316933, VAT number GB 197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.
For more details on how Jisc handles your data see our privacy notice here: https://www.jisc.ac.uk/website/privacy-notice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-dev/attachments/20201016/8a235b0b/attachment-0001.html>
More information about the Evergreen-dev
mailing list