ERR_PNPM_NO_GLOBAL_BIN_DIR Unable to find the global bin directory

错误提示

ERROR 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.

错误,找不到全局bin目录
运行“pnpm setup”来自动创建它,
或者设置global-bin-dir 设置,
或者是PNPM HOME 环境变量。全局bin目录应该在"PATH"中

新建全局bin目录

新建全局存放文件夹

配置环境变量

新建PNPM_HOME全局bin目录

ERR_PNPM_NO_GLOBAL_BIN_DIR Unable to find the global bin directory_第1张图片

PNPM_HOME目录应该在"PATH"路径中

在这里插入图片描述

你可能感兴趣的:(java,pnpm,npm)