I was wondering how you set the node versions for each of the CI builds. Windows build is not working with node 11 for me, whereas linux and osx do (along with 10, 9, 8 and 7).
It's yielding the following error:
------------ Building with node 11 ------------
Uninstalling node 8.15.0 (x64)...
Installing node 11.9.0 (x64)...
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@11.9.0 | win32 | x64
gyp http GET https://nodejs.org/download/release/v11.9.0/node-v11.9.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v11.9.0/node-v11.9.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v11.9.0/SHASUMS256.txt
gyp http GET https://nodejs.org/download/release/v11.9.0/win-x86/node.lib
gyp http GET https://nodejs.org/download/release/v11.9.0/win-x64/node.lib
gyp http 200 https://nodejs.org/download/release/v11.9.0/win-x64/node.lib
gyp http 200 https://nodejs.org/download/release/v11.9.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v11.9.0/win-x86/node.lib
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'C:\\Users\\appveyor\\AppData\\Roaming\\npm\\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 'C:\\projects\\node-canvas-prebuilt\\node-canvas\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\appveyor\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\appveyor\\.node-gyp\\11.9.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\\appveyor\\.node-gyp\\11.9.0',
gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\appveyor\\AppData\\Roaming\\npm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\appveyor\\.node-gyp\\11.9.0\\<(target_arch)\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\projects\\node-canvas-prebuilt\\node-canvas',
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 'C:\\projects\\node-canvas-prebuilt\\node-canvas\\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn msbuild
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Backend.cc
ImageBackend.cc
PdfBackend.cc
SvgBackend.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\backend\PdfBackend.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\backend\pdfbackend.cc: note: see previous definition of 'HAVE_BOOLEAN'
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\backend\SvgBackend.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\backend\svgbackend.cc: note: see previous definition of 'HAVE_BOOLEAN'
BMPParser.cc
Backends.cc
Canvas.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\Backends.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\backends.cc: note: see previous definition of 'HAVE_BOOLEAN'
CanvasGradient.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\Canvas.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\canvas.cc: note: see previous definition of 'HAVE_BOOLEAN'
CanvasPattern.cc
CanvasRenderingContext2d.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\CanvasPattern.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\canvaspattern.cc: note: see previous definition of 'HAVE_BOOLEAN'
closure.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\CanvasRenderingContext2d.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\canvasrenderingcontext2d.cc: note: see previous definition of 'HAVE_BOOLEAN'
color.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\closure.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\closure.cc: note: see previous definition of 'HAVE_BOOLEAN'
Image.cc
ImageData.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\Image.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\image.cc: note: see previous definition of 'HAVE_BOOLEAN'
init.cc
register_font.cc
win_delay_load_hook.cc
c:\msys64\mingw64\include\jconfig.h(27): warning C4005: 'HAVE_BOOLEAN': macro redefinition (compiling source file ..\src\init.cc) [C:\projects\node-canvas-prebuilt\node-canvas\build\canvas.vcxproj]
c:\projects\node-canvas-prebuilt\node-canvas\src\init.cc: note: see previous definition of 'HAVE_BOOLEAN'
Creating library C:\projects\node-canvas-prebuilt\node-canvas\build\Release\canvas.lib and object C:\projects\node-canvas-prebuilt\node-canvas\build\Release\canvas.exp
Generating code
All 2096 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
canvas.vcxproj -> C:\projects\node-canvas-prebuilt\node-canvas\build\Release\\canvas.node
gyp info ok
ci/win/bundle.sh: line 2: ./depends: No such file or directory
error invoking depends.exe
Command exited with code 1
Edit: nevermind. Was building off the wrong commit. You fixed the error afterwards.
Good evening!
I was wondering how you set the node versions for each of the CI builds. Windows build is not working with node 11 for me, whereas linux and osx do (along with 10, 9, 8 and 7).
It's yielding the following error:
Edit: nevermind. Was building off the wrong commit. You fixed the error afterwards.
Thank you!