jalagar / animated-art-engine

A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file
MIT License
167 stars 62 forks source link

issues with step 2 #158

Closed mrjod closed 2 years ago

mrjod commented 2 years ago

2022-10-31T13_27_49_154Z-debug-0.log I have tried installing gtk but I keep getting this error and I'm not sure I understand

mrjod commented 2 years ago

cd step2_spritesheet_to_generative_sheet && npm i && cd .. I tired this and the npm i kept generating error even after installing GTK

mrjod commented 2 years ago

6 verbose stack Error: command failed 296 verbose stack at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:63:27) 296 verbose stack at ChildProcess.emit (node:events:513:28) 296 verbose stack at maybeClose (node:internal/child_process:1093:16) 296 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 297 verbose pkgid canvas@2.8.0 298 verbose cwd C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet 299 verbose Windows_NT 10.0.17134 300 verbose node v16.17.1 301 verbose npm v8.15.0 302 error code 1 303 error path C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas 304 error command failed 305 error command C:\WINDOWS\system32\cmd.exe /d /s /c C:\Users\jomiloju\AppData\Local\Temp\install-75dc0ecc.cmd 306 error Warning: Missing input files: 306 error C:\GTK\bin\libpng14-14.dll 306 error Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch. 306 error Backend.cc 306 error ImageBackend.cc 306 error PdfBackend.cc 306 error C:\GTK\include\pango-1.0\pango\pango-coverage.h(28,10): fatal error C1083: Cannot open include file: 'hb.h': No such file or directory [C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\canvas.vcxproj] 306 error Failed to execute 'C:\Program Files (x86)\nodejs\node.exe C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) 307 error node-pre-gyp info it worked if it ends with ok 307 error node-pre-gyp info using node-pre-gyp@1.0.5 307 error node-pre-gyp info using node@16.17.1 | win32 | ia32 307 error node-pre-gyp info check checked for "C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\Release\canvas.node" (not found) 307 error node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v93-win32-unknown-ia32.tar.gz 307 error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v93-win32-unknown-ia32.tar.gz 307 error node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@16.17.1 (node-v93 ABI, unknown) (falling back to source compile with node-gyp) 307 error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v93-win32-unknown-ia32.tar.gz 307 error gyp info it worked if it ends with ok 307 error gyp info using node-gyp@9.0.0 307 error gyp info using node@16.17.1 | win32 | ia32 307 error gyp info ok 307 error gyp info it worked if it ends with ok 307 error gyp info using node-gyp@9.0.0 307 error gyp info using node@16.17.1 | win32 | ia32 307 error gyp info find Python using Python version 3.10.8 found at "C:\msys64\mingw64\bin\python3.exe" 307 error gyp info find VS using VS2022 (17.3.32929.385) found at: 307 error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" 307 error gyp info find VS run with --verbose for detailed information 307 error gyp info spawn C:\msys64\mingw64\bin\python3.exe 307 error gyp info spawn args [ 307 error gyp info spawn args 'C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py', 307 error gyp info spawn args 'binding.gyp', 307 error gyp info spawn args '-f', 307 error gyp info spawn args 'msvs', 307 error gyp info spawn args '-I', 307 error gyp info spawn args 'C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\config.gypi', 307 error gyp info spawn args '-I', 307 error gyp info spawn args 'C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\addon.gypi', 307 error gyp info spawn args '-I', 307 error gyp info spawn args 'C:\Users\jomiloju\AppData\Local\node-gyp\Cache\16.17.1\include\node\common.gypi', 307 error gyp info spawn args '-Dlibrary=shared_library', 307 error gyp info spawn args '-Dvisibility=default', 307 error gyp info spawn args '-Dnode_root_dir=C:\Users\jomiloju\AppData\Local\node-gyp\Cache\16.17.1', 307 error gyp info spawn args '-Dnode_gyp_dir=C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp', 307 error gyp info spawn args '-Dnode_lib_file=C:\\Users\\jomiloju\\AppData\\Local\\node-gyp\\Cache\\16.17.1\\<(target_arch)\\node.lib', 307 error gyp info spawn args '-Dmodule_root_dir=C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas', 307 error gyp info spawn args '-Dnode_engine=v8', 307 error gyp info spawn args '--depth=.', 307 error gyp info spawn args '--no-parallel', 307 error gyp info spawn args '--generator-output', 307 error gyp info spawn args 'C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build', 307 error gyp info spawn args '-Goutput_dir=.' 307 error gyp info spawn args ] 307 error gyp info ok 307 error gyp info it worked if it ends with ok 307 error gyp info using node-gyp@9.0.0 307 error gyp info using node@16.17.1 | win32 | ia32 307 error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe 307 error gyp info spawn args [ 307 error gyp info spawn args 'build/binding.sln', 307 error gyp info spawn args '/clp:Verbosity=minimal', 307 error gyp info spawn args '/nologo', 307 error gyp info spawn args '/p:Configuration=Release;Platform=Win32' 307 error gyp info spawn args ] 307 error gyp ERR! build error 307 error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1 307 error gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23) 307 error gyp ERR! stack at ChildProcess.emit (node:events:513:28) 307 error gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) 307 error gyp ERR! System Windows_NT 10.0.17134 307 error gyp ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\Release\canvas.node" "--module_name=canvas" "--module_path=C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93" 307 error gyp ERR! cwd C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas 307 error gyp ERR! node -v v16.17.1 307 error gyp ERR! node-gyp -v v9.0.0 307 error gyp ERR! not ok 307 error node-pre-gyp ERR! build error 307 error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files (x86)\nodejs\node.exe C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas\build\Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) 307 error node-pre-gyp ERR! stack at ChildProcess. (C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23) 307 error node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28) 307 error node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1093:16) 307 error node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 307 error node-pre-gyp ERR! System Windows_NT 10.0.17134 307 error node-pre-gyp ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\@mapbox\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" 307 error node-pre-gyp ERR! cwd C:\Users\jomiloju\Documents\maya\projects\victor justin\space\tools\animated-art-engine-main\animated-art-engine-main\step2_spritesheet_to_generative_sheet\node_modules\canvas 307 error node-pre-gyp ERR! node -v v16.17.1 307 error node-pre-gyp ERR! node-pre-gyp -v v1.0.5 307 error node-pre-gyp ERR! not ok 308 verbose exit 1 309 timing npm Completed in 192485ms 310 verbose unfinished npm timer reify 1667223793872 311 verbose unfinished npm timer reify:build 1667223897646 312 verbose unfinished npm timer build 1667223897648 313 verbose unfinished npm timer build:deps 1667223897649 314 verbose unfinished npm timer build:run:install 1667223898010 315 verbose unfinished npm timer build:run:install:node_modules/canvas 1667223898011 316 verbose code 1 317 error A complete log of this run can be found in: 317 error C:\Users\jomiloju\AppData\Local\npm-cache_logs\2022-10-31T13_43_11_837Z-debug-0.log

jalagar commented 2 years ago

Hmm I don't know Windows development much, @theShiza can you help? Also try asking in Discord maybe someone else can help

mrjod commented 2 years ago

alright please send the discord invite

jalagar commented 2 years ago

At the bottom of the README https://discord.gg/Wg9SJkYWnD go to #animated-art-engine channel

mrjod commented 2 years ago

alright thanks

mrjod commented 2 years ago

installing a lower version of Node.Js worked for me. I had to install node.js version14

theShiZa commented 1 year ago

Sorry James, I was on a little holiday. Glad it worked.