The location of the currently running pnpm differs from the location where pnpm will be installed

当前运行的pnpm的位置与安装pnpm的地点不同:

Nothing to stop. No server is running for the store at /Users/guojianbo/Library/pnpm/store/v3
The location of the currently running pnpm differs from the location where pnpm will be installed
 Current pnpm location: /Users/guojianbo/.nvm/versions/node/v16.13.0/bin
 Target location: /Users/guojianbo/Library/pnpm

.zshrc 修改

将环境变量中的 pnpm 指向当前 pnpm 运行的路径:
/Users/guojianbo/.nvm/versions/node/v16.13.0/bin


# export PNPM_HOME="/Users/guojianbo/Library/pnpm"
export PNPM_HOME="/Users/guojianbo/.nvm/versions/node/v16.13.0/bin"
export PATH="$PNPM_HOME:$PATH"

你可能感兴趣的:(node.js,macos,ubuntu,linux)