mirror of
https://github.com/koel/koel.git
synced 2026-04-25 00:36:03 +03:00
[GH-ISSUE #1125] win10 x64 vs2019 build error #654
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#654
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 @miraclekill on GitHub (Nov 19, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1125
yarn install v1.19.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "win32" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-config-vue@2.0.2" has incorrect peer dependency "eslint@^2.0.0 || ^3.0.0".
warning " > eslint-plugin-vue@2.1.0" has incorrect peer dependency "eslint@^2.0.0 || ^3.0.0 || ^4.0.0".
[4/4] Building fresh packages...
error D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass
Output:
Building: D:\Program Files\nodejs\node.exe D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\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 [
gyp verb cli 'D:\Program Files\nodejs\node.exe',
gyp verb cli 'D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\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 verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@12.13.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:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:13:12)gyp verb
whichfailed at F (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:68:19)gyp verb
whichfailed at E (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:80:29)gyp verb
whichfailed at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:89:16gyp verb
whichfailed at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\isexe\index.js:42:5gyp verb
whichfailed at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\isexe\windows.js:36:5gyp verb
whichfailed at FSReqCallback.oncomplete (fs.js:158:21)gyp verb
whichfailed python2 Error: not found: python2gyp verb
whichfailed at getNotFoundError (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:13:12)gyp verb
whichfailed at F (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:68:19)gyp verb
whichfailed at E (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:80:29)gyp verb
whichfailed at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:89:16gyp verb
whichfailed at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\isexe\index.js:42:5gyp verb
whichfailed at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\isexe\windows.js:36:5gyp verb
whichfailed at FSReqCallback.oncomplete (fs.js:158:21) {gyp verb
whichfailed stack: 'Error: not found: python2\n' +gyp verb
whichfailed ' at getNotFoundError (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:13:12)\n' +gyp verb
whichfailed ' at F (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:68:19)\n' +gyp verb
whichfailed ' at E (D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:80:29)\n' +gyp verb
whichfailed ' at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\which\which.js:89:16\n' +gyp verb
whichfailed ' at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\isexe\index.js:42:5\n' +gyp verb
whichfailed ' at D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\isexe\windows.js:36:5\n' +gyp verb
whichfailed ' at FSReqCallback.oncomplete (fs.js:158:21)',gyp verb
whichfailed code: 'ENOENT'gyp verb
whichfailed }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 sys; print "2.7.17 gyp verb check python version .%s.%s" % sys.version_info[:3];"returned: %jgyp verb get node dir no --target version specified, falling back to host node version: 12.13.0
gyp verb command install [ '12.13.0' ]
gyp verb install input version string "12.13.0"
gyp verb install installing version: 12.13.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: 12.13.0
gyp verb build dir attempting to create "build" dir: D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created? D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass\build
gyp verb find vs2017 Found installation at: d:\Program Files (x86)\Microsoft Visual Studio\2019\Community
gyp verb find vs2017 - Found Microsoft.VisualStudio.Component.Windows10SDK.18362
gyp verb find vs2017 - Found Microsoft.VisualStudio.Component.VC.Tools.x86.x64
gyp verb find vs2017 - Found Microsoft.VisualStudio.VC.MSBuild.Base
gyp verb find vs2017 - Using this installation with Windows 10 SDK
gyp verb find vs2017 using installation: d:\Program Files (x86)\Microsoft Visual Studio\2019\Community
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file: D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file: D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\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 [
gyp info spawn args 'D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\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:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Miracle\.node-gyp\12.13.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\Miracle\.node-gyp\12.13.0',
gyp info spawn args '-Dnode_gyp_dir=D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\Users\Miracle\.node-gyp\12.13.0\<(target_arch)\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\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:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\Miracle.node-gyp\12.13.0
gyp verb found first Solution file build/binding.sln
gyp verb using MSBuild: d:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn d:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn d:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
gyp ERR! stack at onErrorNT (internal/child_process.js:456:16)
gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "D:\Program Files\nodejs\node.exe" "D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\phpStudy\PHPTutorial\WWW\koel\resources\assets\node_modules\node-sass
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in
node-gyp.gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/nodejs/node-gyp/issues
Build failed with error code: 7
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Oops! Koel installation or upgrade didn't finish successfully.
Please try again, or visit https://koel.phanan.net/docs for manual installation.
😥 Sorry for this. You deserve better.
@vmario89 commented on GitHub (Dec 28, 2019):
hi. i documented some installation steps on windows here: https://github.com/koel/app/issues/36
and i uploaded my ready-to-use Windows x64 output to this repo which i started because i want to share a lot of other stuff in the future: https://cloud.leyghis.de/d/47539a1682fe40a18472/?p=%2F&mode=list
@BrookeDot commented on GitHub (Apr 22, 2020):
hi @miraclekill
Looks like the problem may have been you were trying to use Node 12 before Koel official supported it (in v4.2.0 released a few days after this ticket was submitted)
I'm going to close this out but feel free to re-open with additional details if you are having install issues with the latest version of Koel.
@vmario89 commented on GitHub (Apr 25, 2020):
same for me. thats the reason i switched to nodejs v11