Angular usimg Npm install命令未安装Npm软件包

Angular usimg Npm install命令未安装Npm软件包,angular,angular5,npm-install,npm-start,Angular,Angular5,Npm Install,Npm Start,我正在做一个基于Angular5的项目。我需要设置一个Angular5代码。当我在visual studio代码中打开代码并尝试使用“NPM install”命令安装软件包时 我使用的是Angular 5,CLI版本为“1.2.5” 我正在附加我得到的错误 node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node

我正在做一个基于Angular5的项目。我需要设置一个Angular5代码。当我在visual studio代码中打开代码并尝试使用“NPM install”命令安装软件包时

我使用的是Angular 5,CLI版本为“1.2.5”

我正在附加我得到的错误

node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-win32-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for grpc@1.10.1 and node@10.16.3 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Pre-built binaries not installable for grpc@1.10.1 and node@10.16.3 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Hit error Connection closed while downloading tarball file
gyp gypERR! configure error
 ERR! gypconfigure error
ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gypgyp  ERR!ERR!  stackstack     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
 Error: Can't find Python executable "python", you can set the PYTHON env variable.
gypgyp  ERR!ERR!  stackstack     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gypgyp  ERR!ERR!  stackstack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp gypERR!  ERR!stack      at FSReqWrap.oncomplete (fs.js:153:21)
stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gypgyp  ERR!ERR!  stackSystem     at FSReqWrap.oncomplete (fs.js:153:21)
 Windows_NT 10.0.17763
gypgyp  ERR! ERR!System  Windows_NT 10.0.17763
gypcommand "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=D:\\Suraj\\kjhdfgjlh\\eco\\node_modules\\grpc\\src\\node\\extension_binary\\node-v64-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=D:\\Suraj\\kjhdfgjlh\\eco\\node_modules\\grpc\\src\\node\\extension_binary\\node-v64-win32-x64-unknown"
 gyp ERR! cwdERR! D:\Suraj\kjhdfgjlh\eco\node_modules\grpc
 gypcommand  "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=D:\\Suraj\\kjhdfgjlh\\eco\\node_modules\\grpc\\src\\node\\extension_binary\\node-v64-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=D:\\Suraj\\kjhdfgjlh\\eco\\node_modules\\grpc\\src\\node\\extension_binary\\node-v64-win32-x64-unknown"
ERR!gyp  ERR!node -v  v10.16.3
gypcwd  D:\Suraj\kjhdfgjlh\eco\node_modules\grpc
gypERR!  node-gyp -vERR! v3.8.0
 gyp node -vERR! v10.16.3
gyp  not okERR!
 node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=D:\Suraj\kjhdfgjlh\eco\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=D:\Suraj\kjhdfgjlh\eco\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (D:\Suraj\kjhdfgjlh\eco\node_modules\grpc\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Windows_NT 10.0.17763
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\Suraj\\kjhdfgjlh\\eco\\node_modules\\grpc\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd D:\Suraj\kjhdfgjlh\eco\node_modules\grpc
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.7.0
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=D:\Suraj\kjhdfgjlh\eco\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=D:\Suraj\kjhdfgjlh\eco\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown' (1)
> node-sass@4.9.2 install D:\Suraj\kjhdfgjlh\eco\node_modules\node-sass
> node scripts/install.js
Cached binary found at C:\Users\Admin\AppData\Roaming\npm-cache\node-sass\4.9.2\win32-x64-64_binding.node
> node-sass@4.9.2 postinstall D:\Suraj\kjhdfgjlh\eco\node_modules\node-sass
> node scripts/build.js
Binary found at D:\Suraj\kjhdfgjlh\eco\node_modules\node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
> uglifyjs-webpack-plugin@0.4.6 postinstall D:\Suraj\kjhdfgjlh\eco\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: grpc@1.10.1 (node_modules\grpc):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: grpc@1.10.1 install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
节点前gyp错误!已尝试下载(403):https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-win32-x64-unknown.tar.gz
节点前gyp错误!找不到的预构建二进制文件grpc@1.10.1及node@10.16.3(node-v64 ABI,未知)(使用node-gyp返回到源代码编译)
节点前gyp错误!无法为安装预构建的二进制文件grpc@1.10.1及node@10.16.3(node-v64 ABI,未知)(使用node-gyp返回到源代码编译)
节点前gyp错误!下载tarball文件时命中错误连接关闭
gyp Gyper!配置错误
犯错误GypConfiguration错误

犯错误堆栈错误:找不到Python可执行文件“Python”,可以设置Python env变量。 gypgyp ERR!犯错误PythonFinder.failNoPython上的堆栈(C:\Program Files\nodejs\node\U modules\npm\node\U modules\node gyp\lib\configure.js:484:19)
错误:找不到Python可执行文件“Python”,可以设置Python env变量。 gypgyp ERR!犯错误在PythonFinder上堆叠。(C:\Program Files\nodejs\node\U modules\npm\node\U modules\node gyp\lib\configure.js:509:16) 在PythonFinder.failNoPython(C:\ProgramFiles\nodejs\node\u modules\npm\node\u modules\node gyp\lib\configure.js:484:19) gypgyp ERR!犯错误堆栈位于C:\Program Files\nodejs\node\u modules\npm\node\u modules\fs\polyfills.js:282:31 在PythonFinder。(C:\Program Files\nodejs\node\U modules\npm\node\U modules\node gyp\lib\configure.js:509:16) gyp Gyper!犯错误堆栈在FSReqWrap.oncomplete(fs.js:153:21) 堆栈位于C:\Program Files\nodejs\node\u modules\npm\node\u modules\fs\polyfills.js:282:31 gypgyp ERR!犯错误FSReqWrap.oncomplete上的堆栈系统(fs.js:153:21) Windows NT 10.0.17763 gypgyp ERR!犯错误系统Windows\u NT 10.0.17763 gypcommand“C:\\Program Files\\nodejs\\node.exe”“C:\\Program Files\\nodejs\\node\U modules\\npm\\node\U modules\\node gyp\\bin\\node gyp.js”“configure”“--回退以构建”“--库=静态库”“--模块=D:\\Suraj\\kjhdfgjhlh\\eco\\node\u modules\\grpc\\src\\node\\extension\u binary\\node-v64-win32-x64-unknown\\grpc\u node.node”“--module_name=grpc_node”“--module_path=D:\\Suraj\\kjhdfgjlh\\eco\\node_modules\\grpc\\src\\node\\extension\u binary\\node-v64-win32-x64-unknown” gyp ERR!cwdERR!D:\Suraj\kjhdfgjlh\eco\node\u modules\grpc gypcommand“C:\\Program Files\\nodejs\\node.exe”“C:\\Program Files\\nodejs\\node\U modules\\npm\\node\U modules\\node gyp\\bin\\node gyp.js”“configure”“--回退以构建”“--库=静态库”“--模块=D:\\Suraj\\kjhdfgjhlh\\eco\\node\u modules\\grpc\\src\\node\\extension\u binary\\node-v64-win32-x64-unknown\\grpc\u node.node”--模块\u name=grpc\u node”“--模块\u path=D:\\Suraj\\kjhdfgjlh\\eco\\node\u模块\\grpc\\src\\node\\extension\u binary\\node-v64-win32-x64-unknown” ERR!gyp ERR!节点-v10.16.3 gypcwd D:\Suraj\kjhdfgjlh\eco\node\u modules\grpc gypERR!节点gyp-vERR!v3.8.0 gyp节点-版本!v10.16.3 gyp不好! 节点gyp-v3.8.0 哎呀!不行 节点预gyp错误!生成错误 节点前gyp错误!堆栈错误:未能执行'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node\U modules\npm\node\U modules\node gyp\bin\node-gyp.js configure--fallback to build--library=static_library--module=D:\Suraj\kjhdfgjhlh\eco\node\U modules\grpc\src\node\extension\binary\node\node\node\node\node\node\node\node\node\node\node\node\no=grpc\U节点——模块路径=D:\Suraj\kjhdfgjlh\eco\node\u modules\grpc\src\node\extension\u binary\node-v64-win32-x64-unknown'(1) node pre-gyp ERR!在ChildProcess上堆栈。(D:\Suraj\kjhdfgjlh\eco\node\u modules\grpc\node\u modules\node pre-gyp\lib\util\compile.js:83:29) ChildProcess.emit(events.js:198:13)处的节点前gyp ERR!堆栈 maybeClose处的节点预gyp ERR!堆栈(internal/child_process.js:982:16) node pre-gyp ERR!在Process.ChildProcess.\u handle.onexit处堆栈(internal/child\u Process.js:259:5) 节点预gyp错误!系统Windows\u NT 10.0.17763 节点前gyp ERR!命令“C:\\Program Files\\nodejs\\node.exe”“D:\\Suraj\\KJHDFGLH\\eco\\node\u modules\\grpc\\node\u modules\\node pre gyp\\bin\\node pre gyp”“install”“--回退以生成”“--库=静态库” 节点前gyp错误!cwd:\Suraj\kjhdfgjlh\eco\node\u modules\grpc 节点前gyp错误!节点-v10.16.3 节点预gyp错误!节点预gyp-v0.7.0 节点预gyp错误!不正常 无法执行'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node\U modules\npm\node\U modules\node gyp\bin\node-gyp.js configure--fallback to build--library=static\u library--module=D:\Suraj\kjhdfgjlh\eco\node\modules\extension\u binary\node\node\node\node-v64-win32-x64-unknown\grpc\node\node\module-name=grpc\u node\node\node\module\u路径=Dj\kjhdfgjlh\eco\node\u modules\grpc\src\node\extension\u binary\node-v64-win32-x64-unknown'(1) >节点-sass@4.9.2安装D:\Suraj\kjhdfgjlh\eco\node\u modules\node sass >节点脚本/install.js 在C:\Users\Admin\AppData\Roaming\npm cache\node sass\4.9.2\win32-x64-64\u binding.node找到缓存的二进制文件 >节点-sass@4.9.2安装后D:\Suraj\kjhdfgjlh\eco\node\u modules\node sass >节点脚本/build.js 二进制文件位于D:\Suraj\kjhdfgjlh\eco\node\u modules\node sass\vendor\win32-x64-64\binding.node 测试二进制 二进位就可以了 >uglifyjs网页包-plugin@0.4.6安装后D:\Suraj\kjhdfgjlh\eco\node\u modules\webpack\node\u modules\uglifyjs网页包插件 >节点lib/post_install.js npm警告可选跳过可选依赖项:grpc@1.10.1(节点\u模块\grpc): npm警告可选跳过可选依赖项:grpc@1.10.1install:`node pre-gyp install--fallback to build--library=static\u library` npm警告可选跳过可选依赖项:退出状态1
您确定键入的是
npm安装
而不是
npm安装