FS#62380 - [npm] npm looks for global configuration in /usr/etc
Attached to Project:
Community Packages
Opened by Celti Burroughs (Celti) - Wednesday, 17 April 2019, 20:28 GMT
Last edited by Daniel M. Capella (polyzen) - Monday, 10 July 2023, 01:25 GMT
Opened by Celti Burroughs (Celti) - Wednesday, 17 April 2019, 20:28 GMT
Last edited by Daniel M. Capella (polyzen) - Monday, 10 July 2023, 01:25 GMT
|
Details
Description:
npm currently builds configured with `--prefix=/usr` without any exemption for global configuration, causing it to look for /usr/etc/npmrc, against current packaging guidelines. This can be fixed by adding `--globalconfig=/etc/npmrc` when building. Additional info: * 6.9.0-1 * You can verify the current search location with `npm config get globalconfig`. |
This task depends upon
Closed by Daniel M. Capella (polyzen)
Monday, 10 July 2023, 01:25 GMT
Reason for closing: Implemented
Additional comments about closing: 9.8.0-2
Monday, 10 July 2023, 01:25 GMT
Reason for closing: Implemented
Additional comments about closing: 9.8.0-2