git Bash 执行 node npm run prod 执行报错?

在本地执行
`
npm run prod

prod
npm run production

'npm' is not recognized as an internal or external command,
operable program or batch file.
`

大概意思是npm没有配置全局变量 访问 本地已经配置过了 最后不用 git bash去执行命令 就能成功

用的 window powershell 就能成功 真是大无语事件

posted @ 2023-10-20 12:57  Paul15963  阅读(52)  评论(0编辑  收藏  举报