gyp verb `which` failed Error: not found: python2
예외는 다음과 같습니다.
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 (F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:13:12)
gyp verb `which` failed at F (F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:68:19)
gyp verb `which` failed at E (F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:80:29)
gyp verb `which` failed at F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:89:16
gyp verb `which` failed at F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\isexe\index.js:42:5
gyp verb `which` failed at F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:13:12)
gyp verb `which` failed at F (F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:68:19)
gyp verb `which` failed at E (F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:80:29)
gyp verb `which` failed at F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\which\which.js:89:16
gyp verb `which` failed at F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\isexe\index.js:42:5
gyp verb `which` failed at F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules\isexe\windows.js:36:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:154:21)
gyp verb `which` failed stack:
gyp verb `which` failed 'Error: not found: python2
at getNotFoundError (F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\\which\\which.js:13:12)
at F (F:\\com
pany_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\\which\\which.js:68:19)
at E (F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\\which\\which.js:80:29)
at
F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\\which\\which.js:89:16
at F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\\isexe\\index.js:42:5
at F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\\isexe\\windows.js:36:5
at FSReqWrap.oncomplete (fs.js:154:21)',
gyp verb `which` failed code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python27\python.EXE
gyp verb check python version `C:\Python27\python.EXE -c "import sys; print "2.7.15
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 10.15.0
gyp verb command install [ '10.15.0' ]
gyp verb install input version string "10.15.0"
gyp verb install installing version: 10.15.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: 10.15.0
gyp verb build dir attempting to create "build" dir: F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules
ode-sass\build
gyp verb build dir "build" dir needed to be created? F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules
ode-sass\build
gyp verb Not using VS2017: Could not use PowerShell to find VS2017
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules
ode-sass\build\config.gypi
gyp verb config.gypi checking for gypi file: F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules
ode-sass\config.gypi
gyp verb common.gypi checking for gypi file: F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules
ode-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.EXE
gyp info spawn args [ 'F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\
ode-Dnode_gyp_dir=F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\
ode-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\curry\\.node-gyp\\10.15.0\\
(_src_\libsass ) ->
MSBUILD : error MSB3428: Visual C++ “VCBuild.exe”。 ,1) .NET Framework 2.0 SDK;2) Microsoft Visual Studio 2005; 3)
, 。 [F:\company_project
\xiexin\trunk\app\xxsdapp
ode_modules
ode-sass\build\binding.sln]
0
1
00:00:00.27
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules
ode-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\
odejs\
ode.exe" "F:\\company_project\\xiexin\\trunk\\app\\xxsdapp\
ode_modules\
ode-gyp\\bin\
ode-gyp.js" "rebuild" "--verbose" "--libsass_ext=
" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd F:\company_project\xiexin\trunk\app\xxsdapp
ode_modules
ode-sass
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
v3.x.x
는 지원되지 않음), 설치 후 환경 변수를 구성합니다.성공 후 실행npm config set python python2.7
npm config set msvs_version 2017
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.