我无法在azure(App Service Web Apps)中安装节点模块。当我必须在从本地git部署时更新节点模块时,经常出现此错误。这很奇怪,因为这个错误并不是每次都出现的。我尝试了几次模块安装后。
remote: npm ERR! git submodule -q update --init --recursive: 0 [main] sh 26552 fork: child -1 - CreateProcessW failed for 'D:\Program Files (x86)\Git\usr\bin\sh.exe', errno 13
remote: npm ERR! git submodule -q update --init --recursive: D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: fork: Permission denied
remote: npm ERR! git submodule -q update --init --recursive: D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: line 7: /usr/bin/basename: Permission denied
remote: npm ERR! git submodule -q update --init --recursive: 0 [main] sh 23252 fork: child -1 - CreateProcessW failed for 'D:\Program Files (x86)\Git\usr\bin\sh.exe', errno 13
remote: npm ERR! git submodule -q update --init --recursive: /mingw32/libexec/git-core/git-sh-setup: fork: Permission denied
remote: npm ERR! git submodule -q update --init --recursive:
remote: npm ERR! Windows_NT 6.2.9200
remote: npm ERR! argv "D:\\Program Files (x86)\\nodejs\\6.2.2\\node.exe" "D:\\Program Files (x86)\\npm\\3.9.5\\node_modules\\npm\\bin\\npm-cli.js" "install" "--production