mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #1010] Building failed, I don't know why, help please! #611
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#611
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jun 27, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1010
Compiling front-end stuff
yarn install v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.2: The platform "win32" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error D:\workspace\koel-3.7.0\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: D:\workspace\koel-3.7.0\node_modules\node-sass
Output:
Building: C:\Program Files\nodejs\node.exe D:\workspace\koel-3.7.0\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 ok
gyp verb cli [ 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'D:\workspace\koel-3.7.0\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.6.2
gyp info using node@10.16.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
whichfailed Error: not found: python2gyp verb
whichfailed at getNotFoundError (D:\workspace\koel-3.7.0\node_modules\which\which.js:13:12)gyp verb
whichfailed at F (D:\workspace\koel-3.7.0\node_modules\which\which.js:68:19)gyp verb
whichfailed at E (D:\workspace\koel-3.7.0\node_modules\which\which.js:80:29)gyp verb
whichfailed at D:\workspace\koel-3.7.0\node_modules\which\which.js:89:16gyp verb
whichfailed at D:\workspace\koel-3.7.0\node_modules\isexe\index.js:42:5gyp verb
whichfailed at D:\workspace\koel-3.7.0\node_modules\isexe\windows.js:36:5gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:153:21)gyp verb
whichfailed python2 { Error: not found: python2gyp verb
whichfailed at getNotFoundError (D:\workspace\koel-3.7.0\node_modules\which\which.js:13:12)gyp verb
whichfailed at F (D:\workspace\koel-3.7.0\node_modules\which\which.js:68:19)gyp verb
whichfailed at E (D:\workspace\koel-3.7.0\node_modules\which\which.js:80:29)gyp verb
whichfailed at D:\workspace\koel-3.7.0\node_modules\which\which.js:89:16gyp verb
whichfailed at D:\workspace\koel-3.7.0\node_modules\isexe\index.js:42:5gyp verb
whichfailed at D:\workspace\koel-3.7.0\node_modules\isexe\windows.js:36:5gyp verb
whichfailed at FSReqWrap.oncomplete (fs.js:153:21)gyp verb
whichfailed stack:gyp verb
whichfailed 'Error: not found: python2\n at getNotFoundError (D:\workspace\koel-3.7.0\node_modules\which\which.js:13:12)\n at F (D:\workspace\koel-3.7.0\node_modules\which\which.js:68:19)\n at E (D:\workspace\koel-3.7.0\node_modules\which\which.js:80:29)\n at D:\workspace\koel-3.7.0\node_modules\which\which.js:89:16\n at D:\workspace\koel-3.7.0\node_modules\isexe\index.js:42:5\n at D:\workspace\koel-3.7.0\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:153:21)',gyp verb
whichfailed code: 'ENOENT' }gyp verb check python checking for Python executable "python" in the PATH
gyp verb
whichsucceeded python C:\Python27\python.EXEgyp verb check python version
C:\Python27\python.EXE -c "import platform; print(platform.python_version());"returned: "2.7.16\r\n"gyp verb get node dir no --target version specified, falling back to host node version: 10.16.0
gyp verb command install [ '10.16.0' ]
gyp verb install input version string "10.16.0"
gyp verb install installing version: 10.16.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.16.0
gyp verb build dir attempting to create "build" dir: D:\workspace\koel-3.7.0\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created? D:\workspace\koel-3.7.0\node_modules\node-sass\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: D:\workspace\koel-3.7.0\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file: D:\workspace\koel-3.7.0\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file: D:\workspace\koel-3.7.0\node_modules\node-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.EXE
gyp info spawn args [ 'D:\workspace\koel-3.7.0\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=2015',
gyp info spawn args '-I',
gyp info spawn args 'D:\workspace\koel-3.7.0\node_modules\node-sass\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'D:\workspace\koel-3.7.0\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\davis\.node-gyp\10.16.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\davis\.node-gyp\10.16.0',
gyp info spawn args '-Dnode_gyp_dir=D:\workspace\koel-3.7.0\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\Users\davis\.node-gyp\10.16.0\<(target_arch)\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\workspace\koel-3.7.0\node_modules\node-sass',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'D:\workspace\koel-3.7.0\node_modules\node-sass\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\davis.node-gyp\10.16.0
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
生成启动时间为 2019/6/27 13:58:33。
节点 1 上的项目“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.sln”(默认目标)。
ValidateSolutionConfiguration:
正在生成解决方案配置“Release|x64”。
项目“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.sln”(1)正在节点 1 上生成“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.vcxproj.metaproj”(2) (默认目标)。
项目“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.vcxproj.metaproj”(2)正在节点 1 上生成“D:\workspace\koel-3.7.0\node_modules\node-sass\build\src\libsass.vcxproj”(3) (默认目标)。
D:\workspace\koel-3.7.0\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: 未找到导入的项目“D:\Microsoft.Cpp.Default.props”。请确认 声明中的路径正确,且磁盘上存在该文件。
已完成生成项目“D:\workspace\koel-3.7.0\node_modules\node-sass\build\src\libsass.vcxproj”(默认目标)的操作 - 失败。
已完成生成项目“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.vcxproj.metaproj”(默认目标)的操作 - 失败。
已完成生成项目“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.sln”(默认目标)的操作 - 失败。
生成失败。
“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.sln”(默认目标) (1) ->
“D:\workspace\koel-3.7.0\node_modules\node-sass\build\binding.vcxproj.metaproj”(默认目标) (2) ->
“D:\workspace\koel-3.7.0\node_modules\node-sass\build\src\libsass.vcxproj”(默认目标) (3) ->
D:\workspace\koel-3.7.0\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: 未找到导入的项目“D:\Microsoft.Cpp.Default.props”。请确认 声明中的路径正确,且磁盘上存在该文件。
已用时间 00:00:00.43
gyp ERR! build error
gyp ERR! stack Error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exefailed with exit code: 1gyp ERR! stack at ChildProcess.onExit (D:\workspace\koel-3.7.0\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\workspace\koel-3.7.0\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\workspace\koel-3.7.0\node_modules\node-sass
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.