Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm --version fails during install-tool npm #220

Closed
rarkins opened this issue Dec 8, 2021 · 1 comment · Fixed by #221
Closed

npm --version fails during install-tool npm #220

rarkins opened this issue Dec 8, 2021 · 1 comment · Fixed by #221
Assignees
Labels
type:bug Bug fix of existing functionality

Comments

@rarkins
Copy link
Member

rarkins commented Dec 8, 2021

Reproduction:

❯ docker run --rm renovate/renovate bash -c "install-tool npm 6.14.15 || true && echo 'Installed npm version is:' && npm --version" 
Installing tool npm v6.14.15
/home/ubuntu/npm/6.14.15/bin/npm -> /home/ubuntu/npm/6.14.15/lib/node_modules/npm/bin/npm-cli.js
/home/ubuntu/npm/6.14.15/bin/npx -> /home/ubuntu/npm/6.14.15/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.14.15
added 437 packages from 891 contributors in 20.191s
npm ERR! It doesn't look like npm is installed.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2021-12-08T09_01_28_815Z-debug.log
Installed npm version is:
6.14.15
@viceice viceice linked a pull request Dec 8, 2021 that will close this issue
@viceice viceice added the type:bug Bug fix of existing functionality label Dec 8, 2021
@viceice
Copy link
Member

viceice commented Dec 8, 2021

fixed in #221

@viceice viceice closed this as completed Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Bug fix of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants