Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm 升级失败 #259

Open
smileyby opened this issue Feb 11, 2023 · 0 comments
Open

pnpm 升级失败 #259

smileyby opened this issue Feb 11, 2023 · 0 comments
Labels

Comments

@smileyby
Copy link
Owner

ERR_PNPM_NO_GLOBAL_BIN_DIR  Unable to find the global bin directory

Run "pnpm setup" to create it automatically, or set the global-bin-dir setting, or the PNPM_HOME env variable. The global bin directory should be in the PATH.

这种情况可能是当前目录下没有管理员权限,导致安装失败
重新启动一个管理员权限的命令行窗口就可以更新成功了 pnpm add pnpm -g

@smileyby smileyby added the pnpm label Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant