尝试使用npm进行安装时,出现错误:“submodule”不是git命令
Git Bash for Windows(版本:2.20.1.Windows.1)
$ npm install
Unhandled rejection Error: Command failed: C:\PROGRAM FILES\GIT\mingw64\bin\git.EXE submodule update -q --init --recursive
git: 'submodule' is not a git command. See 'git --help'.
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:189:13)
at maybeClose (internal/child_process.js:970:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
npm ERR! cb() never called!
npm ERR! This is an error with npm itself.
我是git的初学者,我需要你的帮助来找到解决方案?谢谢!