Angular npm install hangs on extract:rxjs

Bug #1969232 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Critical
Unassigned
3.8
Fix Released
Critical
Unassigned

Bug Description

Evergreen 3.9 / Affects all versions

Running "npm install" in Open-ILS/src/eg2 results in npm freezing on extract:rxjs and pegging the CPU. It turns out, the underlying problem is related to the material icons package:

https://github.com/google/material-design-icons/issues/518#issuecomment-871206503

"""
If you just want to use Material icons on a website, do not install this package. This package includes full sources for all the icons and as a result is an enormous download that takes ages to unpack. You should install material-design-icons-iconfont and forget this package exists.
"""

Patch en route to use the suggested package.

Revision history for this message
Bill Erickson (berick) wrote :

Here's a fix:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1969232-mat-icons-fonts-only

To test:

cd Open-ILS/src/eg2
rm -rf node_modules
npm install
ng build
...

tags: added: pullrequest
Changed in evergreen:
assignee: Bill Erickson (berick) → nobody
Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbergja)
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Nice detective work, Bill! It's good to have `npm install` back again. Pushed to master and 3.8.

Changed in evergreen:
status: New → Fix Committed
assignee: Jane Sandberg (sandbergja) → nobody
tags: added: signedoff
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.