转自:nvm install 报mkdir权限不够,以及解决
vm install 16
Downloading and installing node v16.16.0...
mkdir: 无法创建目录 “/home/fs-user/.nvm/.cache/bin/node-v16.16.0-linux-x64”: 权限不够
creating directory /home/fs-user/.nvm/.cache/bin/node-v16.16.0-linux-x64/files failed
Downloading https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz...
Warning: Failed to create the file
Warning: /home/fs-user/.nvm/.cache/bin/node-v16.16.0-linux-x64/node-v16.16.0-li
Warning: nux-x64.tar.xz: 没有那个文件或目录
解决方式:
修改安装nvm的目录的权限,找到.nmv的位置,提高权限.执行:
sudo chmod -R 777 .nvm
解决结果:
问题解决成功!!!
转自:nvm install 报mkdir权限不够,以及解决
标签:node,mkdir,x64,install,v16.16,nvm,权限 From: https://www.cnblogs.com/hi3254014978/p/17040248.html