1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
(base) shockwave@Netpapverse:/home/shockwave$ nvm install v14.15 mkdir: cannot create directory ‘/.nvm’: Permission denied mkdir: cannot create directory ‘/.nvm’: Permission denied Downloading and installing node v14.15.5… mkdir: cannot create directory ‘/.nvm’: Permission denied creating directory /.nvm/.cache/bin/node–v14.15.5–linux–x64/files failed Downloading https://nodejs.org/dist/v14.15.5/node-v14.15.5-linux-x64.tar.xz… Warning: Failed to create the file Warning: /.nvm/.cache/bin/node–v14.15.5–linux–x64/node–v14.15.5–linux–x64.tar.x Warning: z: No such file or directory 0.0%curl: (23) Failure writing output to destination Binary download from https://nodejs.org/dist/v14.15.5/node-v14.15.5-linux-x64.tar.xz failed, trying source. grep: /.nvm/.cache/bin/node–v14.15.5–linux–x64/node–v14.15.5–linux–x64.tar.xz: No such file or directory Provided file to checksum does not exist. Binary download failed, trying source. Clang v3.5+ detected! CC or CXX not specified, will use Clang as C/C++ compiler! mkdir: cannot create directory ‘/.nvm’: Permission denied creating directory /.nvm/.cache/src/node–v14.15.5/files failed Downloading https://nodejs.org/dist/v14.15.5/node-v14.15.5.tar.xz… Warning: Failed to create the file Warning: /.nvm/.cache/src/node–v14.15.5/node–v14.15.5.tar.xz: No such file or Warning: directory curl: (23) Failure writing output to destination Binary download from https://nodejs.org/dist/v14.15.5/node-v14.15.5.tar.xz failed, trying source. grep: /.nvm/.cache/src/node–v14.15.5/node–v14.15.5.tar.xz: No such file or directory Provided file to checksum does not exist. (base) shockwave@Netpapverse:/home/shockwave$ nvm ls -> system mkdir: cannot create directory ‘/.nvm’: Permission denied mkdir: cannot create directory ‘/.nvm’: Permission denied |
How to solve it
1 2 |
(base) shockwave@Netpapverse:/home/shockwave$ export NVM_DIR=~/.nvm (base) shockwave@Netpapverse:/home/shockwave$ . .nvm/nvm.sh |
Leave a Reply