You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tried npm clean cache
also install node-pre-gyp fresh
window 11
latest node version
error X:\sad\practice\Ragna\node_modules\canvas: Command failed.
Exit code: 7
Command: node-pre-gyp install --fallback-to-build --update-binary
Arguments:
Directory: X:\sad\practice\Ragna\node_modules\canvas
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
(node:14152) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
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
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
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v127 ABI, unknown) (falling back to source compile with node-gyp)
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
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack Error: spawn EINVAL
node-pre-gyp ERR! stack at ChildProcess.spawn (node:internal/child_process:420:11)
node-pre-gyp ERR! stack at Object.spawn (node:child_process:761:9)
node-pre-gyp ERR! stack at module.exports.run_gyp (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\util\compile.js:80:18)
node-pre-gyp ERR! stack at build (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\build.js:41:13)
node-pre-gyp ERR! stack at self.commands. [as build] (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\node-pre-gyp.js:86:37)
node-pre-gyp ERR! stack at run (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\main.js:81:30)
node-pre-gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
node-pre-gyp ERR! System Windows_NT 10.0.22631
node-pre-gyp ERR! command "X:\z\nodejs\node.exe" "X:\sad\practice\Ragna\node_modules\@mapbox\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
X:\sad\practice\Ragna>node-pre-gyp install --fallback-to-build --update-binary
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: amd package.json is not node-pre-gyp ready:
node-pre-gyp ERR! stack package.json must declare these properties:
node-pre-gyp ERR! stack main
node-pre-gyp ERR! stack binary.module_name
node-pre-gyp ERR! stack binary.module_path
node-pre-gyp ERR! stack binary.host
node-pre-gyp ERR! stack at validate_config (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\util\versioning.js:220:15)
node-pre-gyp ERR! stack at module.exports.evaluate (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\util\versioning.js:279:5)
node-pre-gyp ERR! stack at install (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\install.js:241:31)
node-pre-gyp ERR! stack at self.commands. [as install] (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\node-pre-gyp.js:52:37)
node-pre-gyp ERR! stack at run (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\bin\node-pre-gyp:82:30)
node-pre-gyp ERR! stack at Object. (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\bin\node-pre-gyp:134:1)
node-pre-gyp ERR! stack at Module._compile (node:internal/modules/cjs/loader:1546:14)
node-pre-gyp ERR! stack at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
node-pre-gyp ERR! stack at Module.load (node:internal/modules/cjs/loader:1317:32)
node-pre-gyp ERR! stack at Module._load (node:internal/modules/cjs/loader:1127:12)
node-pre-gyp ERR! System Windows_NT 10.0.22631
node-pre-gyp ERR! command "X:\z\nodejs\node.exe" "C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
node-pre-gyp ERR! cwd X:\sad\practice\Ragna
node-pre-gyp ERR! node -v v22.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.17.0
node-pre-gyp ERR! not ok
amd package.json is not node-pre-gyp ready:
package.json must declare these properties:
main
binary.module_name
binary.module_path
binary.host
The text was updated successfully, but these errors were encountered:
@rynop I'm not a part of the maintainers - but you make a good argument for a node v22 pre build of the prior version. It would have made my life a bit easier last week to have that, as well as an available musl build for alpine images.
Hoping to get some time in shortly to see if I can put together a PR.
tried npm clean cache
also install node-pre-gyp fresh
window 11
latest node version
error X:\sad\practice\Ragna\node_modules\canvas: Command failed.
Exit code: 7
Command: node-pre-gyp install --fallback-to-build --update-binary
Arguments:
Directory: X:\sad\practice\Ragna\node_modules\canvas
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
(node:14152) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)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
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
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v127 ABI, unknown) (falling back to source compile with node-gyp)
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
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack Error: spawn EINVAL
node-pre-gyp ERR! stack at ChildProcess.spawn (node:internal/child_process:420:11)
node-pre-gyp ERR! stack at Object.spawn (node:child_process:761:9)
node-pre-gyp ERR! stack at module.exports.run_gyp (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\util\compile.js:80:18)
node-pre-gyp ERR! stack at build (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\build.js:41:13)
node-pre-gyp ERR! stack at self.commands. [as build] (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\node-pre-gyp.js:86:37)
node-pre-gyp ERR! stack at run (X:\sad\practice\Ragna\node_modules@mapbox\node-pre-gyp\lib\main.js:81:30)
node-pre-gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
node-pre-gyp ERR! System Windows_NT 10.0.22631
node-pre-gyp ERR! command "X:\z\nodejs\node.exe" "X:\sad\practice\Ragna\node_modules\@mapbox\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
X:\sad\practice\Ragna>node-pre-gyp install --fallback-to-build --update-binary
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: amd package.json is not node-pre-gyp ready:
node-pre-gyp ERR! stack package.json must declare these properties:
node-pre-gyp ERR! stack main
node-pre-gyp ERR! stack binary.module_name
node-pre-gyp ERR! stack binary.module_path
node-pre-gyp ERR! stack binary.host
node-pre-gyp ERR! stack at validate_config (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\util\versioning.js:220:15)
node-pre-gyp ERR! stack at module.exports.evaluate (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\util\versioning.js:279:5)
node-pre-gyp ERR! stack at install (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\install.js:241:31)
node-pre-gyp ERR! stack at self.commands. [as install] (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\node-pre-gyp.js:52:37)
node-pre-gyp ERR! stack at run (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\bin\node-pre-gyp:82:30)
node-pre-gyp ERR! stack at Object. (C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\bin\node-pre-gyp:134:1)
node-pre-gyp ERR! stack at Module._compile (node:internal/modules/cjs/loader:1546:14)
node-pre-gyp ERR! stack at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
node-pre-gyp ERR! stack at Module.load (node:internal/modules/cjs/loader:1317:32)
node-pre-gyp ERR! stack at Module._load (node:internal/modules/cjs/loader:1127:12)
node-pre-gyp ERR! System Windows_NT 10.0.22631
node-pre-gyp ERR! command "X:\z\nodejs\node.exe" "C:\Users\haide\AppData\Roaming\npm\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
node-pre-gyp ERR! cwd X:\sad\practice\Ragna
node-pre-gyp ERR! node -v v22.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.17.0
node-pre-gyp ERR! not ok
amd package.json is not node-pre-gyp ready:
package.json must declare these properties:
main
binary.module_name
binary.module_path
binary.host
The text was updated successfully, but these errors were encountered: