最佳答案
尝试
npm -v
并检查 npm 是否显示版本! 如果没有,请尝试安装,或者如果您已经安装了应用程序,则尝试在环境变量中添加到/bin 的路径。这会对您有所帮助。
关于NPM 给出错误 - TypeError : Cannot destructure property `stat` of 'undefined' or 'null' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65455779/