nodejs error from lesson 5, @ 6:10:47 #6721
Unanswered
Benedicity948
asked this question in
Q&A
Replies: 1 comment
-
It seems that you already have node installed. Just close and reopen the terminal and see if you are able to execute "nvm --version" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I try to execute this "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash"
But I keep getting this error
'''
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15037 100 15037 0 0 9702 0 0:00:01 0:00:01 --:--:-- 9701
=> nvm is already installed in /root/.nvm, trying to update using git
=> => Compressing and cleaning up git repository
=> nvm source string already in /root/.bashrc
=> bash_completion source string already in /root/.bashrc
npm error code ENOENT
npm error syscall lstat
npm error path C:\Users\Dimmsy\AppData\Roaming\npm
npm error errno -4058
npm error enoent ENOENT: no such file or directory, lstat 'C:\Users\Dimmsy\AppData\Roaming\npm'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: C:\Users\Dimmsy\AppData\Local\npm-cache_logs\2024-08-21T17_45_16_231Z-debug-0.log
=> Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion
'''
Beta Was this translation helpful? Give feedback.
All reactions