Run `npm config delete prefix` or `nvm use --delete-prefix v14.15.0 --silent` to unset it. code example

Example: "Run `npm config delete prefix` or `nvm use --delete-prefix v12.14.1 --silent` to unset it."

# Solution, your version (e.g. v10.16.0) might be different.
# run to determine your version number
ls -l $NVM_DIR/versions/node

# to be able to start node
nvm use --delete-prefix v10.16.0

# to ensure that it’s working
node

# to ensure that it’s deleted
npm config delete prefix

# to set it back
npm config set prefix $NVM_DIR/versions/node/v10.16.0

# So, basically I needed to reset nvm prefix.

Tags:

Misc Example