FS#69915 - [npm-check-updates] Errornous install of npm package "root"
Attached to Project:
Community Packages
Opened by Messju Mohr (messju) - Monday, 08 March 2021, 15:26 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 08 March 2021, 16:06 GMT
Opened by Messju Mohr (messju) - Monday, 08 March 2021, 15:26 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 08 March 2021, 16:06 GMT
|
Details
In PKGBUILD there is "npm install -g --user root ...". This
does not what is intended (at least not with recent versions
of npm).
The "--user" is ignored and npm installs an unnecessary package named "root" (resolving to https://github.com/mafintosh/root) in /usr/lib/node_modules. I found this, because the package "typescript" has the same bug and so I got a conflict when both packages want to own (npm-check-updates and typescript) /usr/lib/node_modules/root. I don't know it there are more packages that (falsely) want to install to /usr/lib/node_modules/root. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 08 March 2021, 16:06 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#69912
Monday, 08 March 2021, 16:06 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Messju Mohr (messju) -
Monday, 08 March 2021, 15:29 GMT
Comment by Doug Newgard (Scimmia) -
Monday, 08 March 2021, 16:03 GMT
Sorry, that line should read "I found this, because the package
"typescript" has the same bug and so I got a conflict when both
packages (npm-check-updates and typescript) want to own
/usr/lib/node_modules/root."
As you say, this seems to be a problem with the tooling, so I'm
going to combine this with the typescript ticket. These are the
only 2 packages in the repos currently affected.