您的當前位置:

人力資源公司|jobxzc.com > 個人求職 > 正文

  • 今天經過npm 安置 install 的時候展現的題目

    E:\Workspace_WebStorm\angular2>npm install -gC:\Users\lyx\AppData\Roaming\npm`-- 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_WebStorm\angular2>npm installnpm 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_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass> node scripts/install.js

    Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/win32-x64-51_binding.nodeCannot download "https://github.com/sass/node-sass/releases/download/v4.5.0/win32-x64-51_binding.node":

    ESOCKETTIMEDOUT

    Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.

    export HTTP_PROXY=http://example.com:1234

    or configure npm proxy via

    npm config set proxy http://example.com:8080

    > node-sass@4.5.0 postinstall E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass> node scripts/build.js

    Binary found at E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\vendor\win32-x64-51\binding.nodeTesting binaryBinary has a problem: Error: %1 is not a valid Win32 application.\\?\E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\vendor\win32-x64-51\binding.node at Object.Module._extensions..node (module.js:598:18) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at module.exports (E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\lib\binding.js:19:10) at Object.<anonymous> (E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\lib\index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10)Building the binary locallyBuilding: E:\node\node.exe E:\Workspace_WebStorm\angular2\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=gyp info it worked if it ends with okgyp verb cli [ 'E:\\node\\node.exe',gyp verb cli 'E:\\Workspace_WebStorm\\angular2\\node_modules\\node-gyp\\bin\\node-gyp.js',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.0gyp info using node@7.5.0 | win32 | x64gyp verb command rebuild []gyp verb command clean []gyp verb clean removing "build" directorygyp verb command configure []gyp verb check python checking for Python executable "python2" in the PATHgyp verb `which` failed Error: not found: python2gyp verb `which` failed at getNotFoundError (E:\Workspace_WebStorm\angular2\node_modules\which\which.js:13:12)gyp verb `which` failed at F (E:\Workspace_WebStorm\angular2\node_modules\which\which.js:68:19)gyp verb `which` failed at E (E:\Workspace_WebStorm\angular2\node_modules\which\which.js:80:29)gyp verb `which` failed at E:\Workspace_WebStorm\angular2\node_modules\which\which.js:89:16gyp verb `which` failed at E:\Workspace_WebStorm\angular2\node_modules\isexe\index.js:44:5gyp verb `which` failed at E:\Workspace_WebStorm\angular2\node_modules\isexe\windows.js:29:5gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:112:15)gyp verb `which` failed python2 { Error: not found: python2gyp verb `which` failed at getNotFoundError (E:\Workspace_WebStorm\angular2\node_modules\which\which.js:13:12)gyp verb `which` failed at F (E:\Workspace_WebStorm\angular2\node_modules\which\which.js:68:19)gyp verb `which` failed at E (E:\Workspace_WebStorm\angular2\node_modules\which\which.js:80:29)gyp verb `which` failed at E:\Workspace_WebStorm\angular2\node_modules\which\which.js:89:16gyp verb `which` failed at E:\Workspace_WebStorm\angular2\node_modules\isexe\index.js:44:5gyp verb `which` failed at E:\Workspace_WebStorm\angular2\node_modules\isexe\windows.js:29:5gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:112:15) code: 'ENOENT' }gyp verb check python checking for Python executable "python" in the PATHgyp verb `which` succeeded python C:\Python27\python.EXEgyp verb check python version `C:\Python27\python.EXE -c "import platform; print(platform.python_version());"` returned: "2.7.13\r\n"gyp verb get node dir no --target version specified, falling back to host node version: 7.5.0gyp verb command install [ '7.5.0' ]gyp verb install input version string "7.5.0"gyp verb install installing version: 7.5.0gyp verb install --ensure was passed, so won't reinstall if already installedgyp verb install version is already installed, need to check "installVersion"gyp verb got "installVersion" 9gyp verb needs "installVersion" 9gyp verb install version is goodgyp verb get node dir target node version installed: 7.5.0gyp verb build dir attempting to create "build" dir: E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\buildgyp verb build dir "build" dir needed to be created? E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\buildgyp verb build/config.gypi creating config filegyp verb build/config.gypi writing out config file: E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\build\config.gypigyp verb config.gypi checking for gypi file: E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\config.gypigyp verb common.gypi checking for gypi file: E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\common.gypigyp verb gyp gyp format was not specified; forcing "msvs"gyp info spawn C:\Python27\python.EXEgyp info spawn args [ 'E:\\Workspace_WebStorm\\angular2\\node_modules\\node-gyp\\gyp\\gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'msvs',gyp info spawn args '-G',gyp info spawn args 'msvs_version=auto',gyp info spawn args '-I',gyp info spawn args 'E:\\Workspace_WebStorm\\angular2\\node_modules\\angular-cli\\node_modules\\node-sass\\build\\config.gypi',gyp info spawn args '-I',gyp info spawn args 'E:\\Workspace_WebStorm\\angular2\\node_modules\\node-gyp\\addon.gypi',gyp info spawn args '-I',gyp info spawn args 'C:\\Users\\lyx\\.node-gyp\\7.5.0\\include\\node\\common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=C:\\Users\\lyx\\.node-gyp\\7.5.0',gyp info spawn args '-Dnode_gyp_dir=E:\\Workspace_WebStorm\\angular2\\node_modules\\node-gyp',gyp info spawn args '-Dnode_lib_file=node.lib',gyp info spawn args '-Dmodule_root_dir=E:\\Workspace_WebStorm\\angular2\\node_modules\\angular-cli\\node_modules\\node-sass',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'E:\\Workspace_WebStorm\\angular2\\node_modules\\angular-cli\\node_modules\\node-sass\\build',gyp info spawn args '-Goutput_dir=.' ]gyp verb command build []gyp verb build type Releasegyp verb architecture x64gyp verb node dev dir C:\Users\lyx\.node-gyp\7.5.0gyp verb found first Solution file build/binding.slngyp verb could not find "msbuild.exe" in PATH - finding location in registrygyp verb "Release" dir needed to be created? nullgyp verb copying "node.lib" for x64 C:\Users\lyx\.node-gyp\7.5.0\Release\node.libgyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exegyp info spawn args [ 'build/binding.sln',gyp info spawn args '/nologo',gyp info spawn args '/p:Configuration=Release;Platform=x64' ]在此解決方案中一次生成一個項現在。若要啟用并走生成,請增補“/m”開關。生成啟動時間為 2017/2/26 16:01:32。節點 1 上的項現在“E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\build\binding.sln”(默認現在的)。ValidateSolutionConfiguration: 正在生成解決方案配置“Release|x64”。MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”。要解決此題目,1) 安置 .NET Framework 2.0 SDK;2) 安置 Microsoft Visual Studio 2005;或 3) 倘若將該組件安置到了其他位置,請將其位置增補到編制路徑中。 [E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\build\binding.sln]已完善生成項現在“E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\build\binding.sln”(默認 現在的)的操作 - 戰敗。

    生成戰敗。

    “E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\build\binding.sln”(默認現在的) (1) ->(_src_\libsass 現在的) -> MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”。要解決此題目,1) 安置 .NET Framework 2.0 SDK;2) 安 裝 Microsoft Visual Studio 2005;或 3) 倘若將該組件安置到了其他位置,請將其位置增補到編制路徑中。 [E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sass\build\binding.sln]

    0 個警告 1 個舛訛

    已用時間 00:00:00.57gyp ERR! build errorgyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1gyp ERR! stack at ChildProcess.onExit (E:\Workspace_WebStorm\angular2\node_modules\node-gyp\lib\build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)gyp ERR! stack at ChildProcess.emit (events.js:192:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)gyp ERR! System Windows_NT 10.0.14393gyp ERR! command "E:\\node\\node.exe" "E:\\Workspace_WebStorm\\angular2\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="gyp ERR! cwd E:\Workspace_WebStorm\angular2\node_modules\angular-cli\node_modules\node-sassgyp ERR! node -v v7.5.0gyp ERR! node-gyp -v v3.5.0gyp ERR! not okBuild failed with error code: 1npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})npm WARN enoent ENOENT: no such file or directory, open 'E:\Workspace_WebStorm\angular2\node_modules\node-sass\package.json'npm WARN sass-loader@4.1.1 requires a peer of node-sass@^3.4.2 || ^4.0.0 but none was installed.npm ERR! Windows_NT 10.0.14393npm ERR! argv "E:\\node\\node.exe" "E:\\node\\node_modules\\npm\\bin\\npm-cli.js" "install"npm ERR! node v7.5.0npm ERR! npm v4.1.2npm ERR! code ELIFECYCLE

    npm ERR! node-sass@4.5.0 postinstall: `node scripts/build.js`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the node-sass@4.5.0 postinstall script 'node scripts/build.js'.npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the node-sass package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node scripts/build.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs node-sassnpm ERR! Or if that isn't available, you can get their info via:npm ERR! npm owner ls node-sassnpm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:npm ERR! E:\Workspace_WebStorm\angular2\npm-debug.log

    ------------------------------------------------------------------------

    生成啟動時間為 2016/6/27 星期一 11:39:46。
    節點 1 上的項現在“C:\Users\世民\node_modules\node-sass\build\binding.sln”(默認現在的)。
    ValidateSolutionConfiguration:
      正在生成解決方案配置“Release|x64”。
    MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”。要解決此題目,1) 安置 .NET Framework 2.0 SDK;2) 安置 Microsoft Visual Studio 2005;或 3) 倘若將該組件安置到了其他位置,請將其位置增補到編制路徑
    中。 [C:\Users\世民\node_modules\node-sass\build\bindi
    ng.sln]
    已完善生成項現在“C:\Users\世民\node_modules\node-sass\build\binding.sln”(默認現在的)的操作 - 戰敗。
    
    
    生成戰敗。
    
    “C:\Users\世民\node_modules\node-sass\build\binding.sln”(默認現在的) (1) ->
    (_src_\libsass 現在的) ->
      MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”。要解決此題目,1) 安置 .NET Framework 2.0 SDK;2) 安置 Microsoft Visual Studio 2005;或 3) 倘若將該組件安置到了其他位置,請將其位置增補到編制路
    徑中。 [C:\Users\世民\node_modules\node-sass\build\bin
    ding.sln]
    
        0 個警告
        1 個舛訛

    然后呢,就一頭賽到vc++組件里往,安置各栽無用的東西,嘗試過各栽解決方案,末了實在是異國手段了,就仔細的從頭到尾的望舛訛新聞,然后在 node scripts/install.js 之后發現這么一句話

    Cannot download "https://github.com/sass/node-sass/releases/download/v3.8.0/win32-x64-46_binding.node":

    這句話行家都懂的哈,吾就不說了,這邊吾也不清新為什么會下載戰敗,由于吾的電腦全局代理的,平常的訪問任何網站都是無窒礙的,百思不得解,

    益吧那吾就本身下載吧(為什么本身下載?由于吾在google的時候也是發現了寫有用的東西,固然沒那么直不都雅哈,但是也給了吾許眾協助)

    下載完了之后把它注冊成全局環境變量,兩栽手段:

    第一栽:直接右鍵吾的電腦--》屬性--》高級編制豎立--》環境變量--》增補

    第二栽:set XXX=文件路經--》set SASS_BINARY_PATH=F:\lishiming\tools\node-sass\win32-x64-46_binding.node

    查望環境是否正當:echo %SASS_BINARY_PATH%

    倘若打印出來您配置益的文件地址那就ok了,

    末了再來試試安置:npm i -g node-sass

    參照上面的應案完善解決

    作者:admin  發布時間:2021-07-05  點擊數:

友情鏈接

Powered by 人力資源公司|jobxzc.com @2018 RSS地圖 HTML地圖

Copyright 站群 © 2013-2021 365建站器 版權所有

亚洲一区二区偷拍精品,少妇被粗大的猛进出69影院,亚洲一卡2卡三卡4卡国色,国产强被迫伦姧在线观看无码