Altpapier / GlintCreator

MIT License
7 stars 0 forks source link

all doesnt work #3

Open MaxZhirniy opened 1 week ago

MaxZhirniy commented 1 week ago

Hey! I don't know if the project is still supported (probably not, but I'm writing anyway). I can't install it either as npm or as code. npm log: npm i minecraft-glint-generator npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn deprecated npmlog@5.0.1: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported. npm warn deprecated gauge@3.0.2: This package is no longer supported. npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm error code 1 npm error path C:\Users\usr\Desktop\GlintCreator-master\node_modules\canvas npm error command failed npm error command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build --update-binary npm error Failed to execute 'C:\Program Files\nodejs\node.exe C :\Users\usr\AppData\Roaming\nvm\v22.9.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --update-binary --module=C:\Users\usr\Desktop\GlintCreator-master\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\usr\Desktop\GlintCreator-master\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi= napi --napi_build_version=0 --node_napi_label=node-v127' (1) npm error node-pre-gyp info it worked if it ends with ok npm error node-pre-gyp info using node-pre-gyp@1.0.11 npm error node-pre-gyp info using node@22.9.0 | win32 | x64 npm error (node:628) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. npm error (Use node --trace-deprecation ... to show where the warning was created) npm error node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-win32-unknown-x64.tar.gz npm error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-win32-unknown-x64.tar.gz npm error node-pre-gyp WARN Pre-built binaries not installable for canvas@2.11.2 and node@22.9.0 (node-v127 ABI, unknown) (falling back to source compile with node-gyp) npm error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-win32-unknown-x64.tar.gz npm error gyp info it worked if it ends with ok npm error gyp info using node-gyp@10.2.0 npm error gyp info using node@22.9.0 | win32 | x64 npm error gyp info ok npm error gyp info it worked if it ends with ok npm error gyp info using node-gyp@10.2.0 npm error gyp info using node@22.9.0 | win32 | x64 npm error gyp info find Python using Python version 3.12.0 found at "C:\Users\usr\AppData\Local\Programs\Python\Python312\python.exe" npm error gyp ERR! find VS npm error gyp ERR! find VS msvs_version not set from command line or npm config npm error gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details. npm error gyp ERR! find VS npm error gyp ERR! find VS Failure details: undefined npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details. npm error gyp ERR! find VS npm error gyp ERR! find VS Failure details: undefined npm error gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21 npm error gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21 npm error gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21 npm error gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18 npm error gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8 npm error gyp ERR! find VS npm error gyp ERR! find VS **** npm error gyp ERR! find VS You need to install the latest version of Visual Studio npm error gyp ERR! find VS including the "Desktop development with C++" workload. npm error gyp ERR! find VS For more information consult the documentation at: npm error gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows npm error gyp ERR! find VS ****

Altpapier commented 1 week ago

the node canvas library requires some dependencies you need to install first. See: https://github.com/Automattic/node-canvas/wiki/Installation:-Windows

(this repo is also out of date I haven't touched it in years so there might be some issues)

MaxZhirniy commented 1 week ago

oh, my english not good, that’s why the logs confuse me more, forgive me if I’m asking stupid questions. Thank you