Git Vuejs中的npm依赖项安装错误

Git Vuejs中的npm依赖项安装错误,git,vue.js,github,npm,npm-install,Git,Vue.js,Github,Npm,Npm Install,我知道如何克隆和运行git repository,但Github中的git repository已成功克隆,并且在安装其依赖项时已成功克隆。 这显示了一个错误 我只是简单地用npm安装注释安装依赖项 错误是: 首先,确保在你的道路上,如图所示 最佳实践是从git bash会话执行npm安装,以确保在git处于活动状态的环境中,即使不是直接在您的路径中。该错误说明了什么?它说明了很多错误,我修复了其中一些错误,但更多的错误。如果您不至少给出具体的错误消息,我们几乎没有机会帮助您。帮助在我的pc上设

我知道如何克隆和运行git repository,但Github中的git repository已成功克隆,并且在安装其依赖项时已成功克隆。 这显示了一个错误

我只是简单地用npm安装注释安装依赖项

错误是:

首先,确保在你的道路上,如图所示


最佳实践是从git bash会话执行npm安装,以确保在git处于活动状态的环境中,即使不是直接在您的路径中。

该错误说明了什么?它说明了很多错误,我修复了其中一些错误,但更多的错误。如果您不至少给出具体的错误消息,我们几乎没有机会帮助您。帮助在我的pc上设置此vuejs项目我没有任何vuejs经验。我尝试了cmd中的npm install命令,但它的思想错误两个错误cd从未调用,第二个是git错误。@RohitNishad所以你仍然有这个问题?启动npm命令时,您的路径是什么?输入set PATH.bro,这是我4个月前的问题,我从windows跳转到Linux或者其他一些东西。现在对我来说这不是很重要,我很抱歉浪费了你的时间。@RohitNishad没问题。我将把我的答案留在这里,以防其他人也有类似的问题。你可以让它保持原样:它会帮助别人。
C:\Users\username\folder>npm install
npm WARN deprecated @xkeshi/vue-countdown@0.6.0: No longer maintainted, please use @chenfengyuan/vue-countdown
npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/mattboldt/typed.js.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\username\AppData\Roaming\npm-cache\_logs\2019-12-09T02_53_12_785Z-debug.log