<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
h3
{mso-style-priority:9;
mso-style-link:"Heading 3 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:13.5pt;
font-family:"Calibri",sans-serif;
font-weight:bold;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
font-size:10.0pt;
font-family:"Courier New";}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-priority:9;
mso-style-link:"Heading 3";
font-family:"Calibri Light";
color:#1F3763;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Arial",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1543709438;
mso-list-template-ids:1202751936;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style>
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Possibly node_modules has got mixed up from installing previous versions. I would try:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US">rm -rf node_modules<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US">and then try again from npm install onwards.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Good luck!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US">Julian<o:p></o:p></span></p>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="500" style="width:375.0pt">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm"></td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Evergreen-dev <evergreen-dev-bounces@list.evergreen-ils.org><br>
<b>Date: </b>Thursday, 15 October 2020 at 22:19<br>
<b>To: </b>evergreen-dev@list.evergreen-ils.org <evergreen-dev@list.evergreen-ils.org><br>
<b>Subject: </b>[Evergreen-dev] Angular eg2 install and build errors<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Hello, I'm trying to test out the curbside module using the branch for 3.3 at <o:p></o:p></p>
<div>
<p class="MsoNormal"><a href="https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/miker/lp1879983_curbside_pickup_pr_3_3">https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/miker/lp1879983_curbside_pickup_pr_3_3</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I'm using a Debian Jessie system and I'm running into errors with the Install Angular steps.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<h3 id="gmail-install_files_for_angular_web_staff_client">4.3. Install Angular files for web staff client<o:p></o:p></h3>
<div>
<ol start="1" type="1">
<li style="mso-list:l0 level1 lfo1">Building, Testing, Minification: The remaining steps all take place within the Angular staff root:
<o:p></o:p></li></ol>
<div>
<div>
<pre style="margin-left:36.0pt"><tt>cd <span style="color:#009900">$EVERGREEN_ROOT</span>/Open-ILS/src/eg<span style="color:#993399">2</span><span style="color:#990000">/</span></tt><o:p></o:p></pre>
</div>
</div>
<ol start="2" type="1">
<li style="mso-list:l0 level1 lfo1">Install Project-local Dependencies. npm inspects the
<em><span style="font-family:"Calibri",sans-serif">package.json</span></em> file for dependencies and fetches them from the Node package network.
<o:p></o:p></li></ol>
<div>
<div>
<pre style="margin-left:36.0pt"><tt>npm install <i><span style="color:#9A1900"># fetch JS dependencies</span></i></tt><o:p></o:p></pre>
</div>
</div>
<ol start="3" type="1">
<li style="mso-list:l0 level1 lfo1">Run the build script. <o:p></o:p></li></ol>
<div>
<div>
<pre style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><tt><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman""> </span></span></tt><![endif]><tt><i><span style="color:#9A1900"># build and run tests</span></i><o:p></o:p></tt></pre>
<pre style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><tt><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman""> </span></span></tt><![endif]><tt>ng build --prod<o:p></o:p></tt></pre>
<pre style="margin-left:36.0pt"><tt>npm run <b><span style="color:blue">test</span></b></tt><o:p></o:p></pre>
</div>
</div>
<div>
<p class="MsoNormal">These are the results I get:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">opensrf@virt-egdev1:~/Evergreen/Open-ILS/src/eg2$ npm install<br>
npm WARN ajv-keywords@3.5.2 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.<br>
npm WARN codelyzer@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.<br>
npm WARN codelyzer@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.<br>
npm WARN codelyzer@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.<br>
npm WARN codelyzer@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.<br>
npm WARN codelyzer@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.<br>
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/watchpack/node_modules/fsevents):<br>
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})<br>
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):<br>
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})<br>
<br>
added 8 packages and updated 66 packages in 23.375s<br>
opensrf@virt-egdev1:~/Evergreen/Open-ILS/src/eg2$ ng build --prod<br>
module.js:549<br>
throw err;<br>
^<br>
<br>
Error: Cannot find module '@angular-devkit/core'<br>
at Function.Module._resolveFilename (module.js:547:15)<br>
at Function.Module._load (module.js:474:25)<br>
at Module.require (module.js:596:17)<br>
at require (internal/module.js:11:18)<br>
at Object.<anonymous> (/usr/local/lib/node_modules/@angular/cli/lib/init.js:13:16)<br>
at Module._compile (module.js:652:30)<br>
at Object.Module._extensions..js (module.js:663:10)<br>
at Module.load (module.js:565:32)<br>
at tryModuleLoad (module.js:505:12)<br>
at Function.Module._load (module.js:497:3)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Josh<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Josh Stompro - IT Director<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Lake Agassiz Regional Library<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Desk: 218-233-3757 Ext 139<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cell: 218-790-2110<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<mc type="body"><font size="1"><font face="Corbel"><br>
<p>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.<br>
<br>
</p>
<p>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.<br>
<br>
</p>
<p>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.<br>
<br>
</p>
<p>For more details on how Jisc handles your data see our privacy notice here: https://www.jisc.ac.uk/website/privacy-notice</p>
</font></font>
</body>
</html>