| Summary: | npm is installed, but not available/inaccessible/does not exist on disk | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Stig-Ørjan Smelror <smelror> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | npm-3.10.10-2.mga6 | CVE: | |
| Status comment: | |||
My fault. I tried to install NPM@5 after an email from npmjs.org and it lead to a defunct directory resulting in npm being unavailable. Fixed it by installing npm 5.0.3 manually and moving the npm directory I downloaded to /usr/lib/node_modules/ Status:
NEW =>
RESOLVED |
$ sudo urpmi npm-3.10.10-2.mga6 installing npm-3.10.10-2.mga6.x86_64.rpm from /share/pub/linux/Mageia/cauldron/x86_64/media/core/release Preparing... ################################################################# 1/1: npm ################################################################# $ rpm -qls npm-3.10.10-2.mga6 normal /usr/bin/npm $ rehash $ /usr/bin/npm zsh: no such file or directory: /usr/bin/npm