尝试使用 npm 安装包时出现错误代码 128
Error code 128 when trying to install packages with npm
我尝试 npm install jspdf --save
时收到以下错误:
npm ERR! code 128
npm ERR! Command failed: git submodule update -q --init --recursive
npm ERR! error: waitpid for git-submodule failed: No child processes
我安装了最新版本的 npm,但还是一样:
Angular CLI: 6.2.3
Node: 10.16.0
OS: win32 x64
Angular: 6.1.9
NPM: 6.9.0
知道是什么原因造成的吗?
以管理员身份尝试 运行 应用程序(右键单击-> 运行 以管理员身份),如果它 Windows。
我尝试 npm install jspdf --save
时收到以下错误:
npm ERR! code 128
npm ERR! Command failed: git submodule update -q --init --recursive
npm ERR! error: waitpid for git-submodule failed: No child processes
我安装了最新版本的 npm,但还是一样:
Angular CLI: 6.2.3
Node: 10.16.0
OS: win32 x64
Angular: 6.1.9
NPM: 6.9.0
知道是什么原因造成的吗?
以管理员身份尝试 运行 应用程序(右键单击-> 运行 以管理员身份),如果它 Windows。