admin 管理员组文章数量: 1086019
2024年3月22日发(作者:dw中cellspacing什么意思)
今天通过npm安装install的时候出现的问题
E:Workspace_WebStormangular2>npm install -g
C:UserslyxAppDataRoamingnpm
`-- angular2@0.0.0
`-- UNMET PEER DEPENDENCY typescript@>=1.8.0 <2.1.0 || >=1.9.0-dev || >=2.0.0-dev || || >=2.1.0-dev
npm WARN ts-helpers@1.1.2 requires a peer of typescript@>=1.8.0 <2.1.0 || >=1.9.0-dev || >=2.0.0-dev || || >=2.1.0-dev but none was installed.
E:Workspace_WebStormangular2>npm install
npm WARN deprecated angular-cli@1.0.0-beta.28.3: angular-cli has been renamed to @angular/cli. Please update your dependencies.
> node-sass@4.5.0 install E:Workspace_WebStormangular2node_modulesangular-clinode_modulesnode-sass
> node scripts/
ESOCKETTIMEDOUT
Hint: If is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
or configure npm proxy via
> node-sass@4.5.0 postinstall E:Workspace_WebStormangular2node_modulesangular-clinode_modulesnode-sass
> node scripts/
Binary found at E:Workspace_WebStormangular2node_modulesangular-clinode_
Testing binary
Binary has a problem: Error: %1 is not a valid Win32 application.
?E:Workspace_WebStormangular2node_modulesangular-clinode_
at ._de (:598:18)
at (:488:32)
at tryModuleLoad (:447:12)
at ._load (:439:3)
at e (:498:17)
at require (internal/:20:19)
at s (E:Workspace_WebStormangular2node_modulesangular-clinode_:19:10)
at Object.
at Module._compile (:571:32)
at ._extensions..js (:580:10)
Building the binary locally
Building: E: E:Workspace_WebStormangular2node_ rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --
libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'E:',
gyp verb cli 'E:Workspace_WebStormangular2node_',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.5.0
gyp info using node@7.5.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (E:Workspace_WebStormangular2node_:13:12)
gyp verb `which` failed at F (E:Workspace_WebStormangular2node_:68:19)
gyp verb `which` failed at E (E:Workspace_WebStormangular2node_:80:29)
gyp verb `which` failed at E:Workspace_WebStormangular2node_:89:16
gyp verb `which` failed at E:Workspace_WebStormangular2node_:44:5
gyp verb `which` failed at E:Workspace_WebStormangular2node_:29:5
gyp verb `which` failed at lete (:112:15)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (E:Workspace_WebStormangular2node_:13:12)
gyp verb `which` failed at F (E:Workspace_WebStormangular2node_:68:19)
gyp verb `which` failed at E (E:Workspace_WebStormangular2node_:80:29)
gyp verb `which` failed at E:Workspace_WebStormangular2node_:89:16
gyp verb `which` failed at E:Workspace_WebStormangular2node_:44:5
gyp verb `which` failed at E:Workspace_WebStormangular2node_:29:5
gyp verb `which` failed at lete (:112:15) code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:
gyp verb check python version `C: -c "import platform; print(_version());"` returned: "2.7.13rn"
gyp verb get node dir no --target version specified, falling back to host node version: 7.5.0
gyp verb command install [ '7.5.0' ]
gyp verb install input version string "7.5.0"
gyp verb install installing version: 7.5.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 7.5.0
gyp verb build dir attempting to create "build" dir: E:Workspace_WebStormangular2node_modulesangular-clinode_modulesnode-sassbuild
gyp verb build dir "build" dir needed to be created? E:Workspace_WebStormangular2node_modulesangular-clinode_modulesnode-sassbuild
gyp verb build/ creating config file
gyp verb build/ writing out config file: E:Workspace_WebStormangular2node_modulesangular-clinode_
gyp verb checking for gypi file: E:Workspace_WebStormangular2node_modulesangular-clinode_
版权声明:本文标题:今天通过npm安装install的时候出现的问题 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1711081317a587439.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论