npm / npm/cli

npm preventing the function of nvm.

Open
#6,538 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.1k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
19

Description

[EDIT] I am attempting to install node.js so I can host my friend's discord bot so we don't have issues with replit anymore.
This is my first time working with a raspberry pi seriously, so this could be my own error. I would like to add that I am not able to uninstall npm either. [END EDIT]
"nvm is not compatible with the npm config "prefix" option: currently set to " "
Run npm config delete prefix or nvm use --delete-prefix v20.2.0 to unset it"

When I attempt to run these commands, nothing happens.

It is also worth noting that no npm commands are functioning (other than man npm if that counts)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported nvm and npm config commands on the Raspberry Pi environment described in the issue, then check why npm commands do not function. Done means the prefix configuration can be handled and npm commands work; no repository file or test is identified in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.