小编dil*_*n23的帖子

NVM 安装错误:找不到配置文件。尝试了 ~/.bashrc、~/.bash_profile、~/.zshrc 和 ~/.profile。

我只是擦除并重新格式化我的整个 Macbook Retina 驱动器以从头开始,安装自制软件,安装 xcode 并接受条款和条件,去安装 nvmcurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash并得到以下错误:

=> nvm is already installed in /Users/dillon/.nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.
=> Create one of them and run this script again
   OR
=> Append the following lines to the correct file yourself:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm

=> Close and …
Run Code Online (Sandbox Code Playgroud)

node.js nvm

4
推荐指数
1
解决办法
6856
查看次数

标签 统计

node.js ×1

nvm ×1