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
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '\\?\d:\Dev\quizologist\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'd:\Dev\quizo
logist\node_modules@grpc\grpc-js'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'd:\Dev\quizologist\node_modules\@grpc\grpc-js
'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\d:\Dev\quizologist\node_modules\@firebase',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'd:\Dev\quizo
logist\node_modules@firebase\firestore'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'd:\Dev\quizologist\node_modules\@firebase\fir
estore'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path d:\Dev\quizologist\node_modules\canvas
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fa
llback-to-build --update-binary
npm error Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\toddh\App
Data\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configur
e --fallback-to-build --update-binary --module=d:\Dev\quizologist\node_modules\c
anvas\build\Release\canvas.node --module_name=canvas --module_path=d:\Dev\quizol
ogist\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 [email protected]
npm error node-pre-gyp info using [email protected] | win32 | x64
npm error (node:21660) [DEP0040] DeprecationWarning: The punycode module is de
precated. Please use a userland alternative instead.
npm error (Use node --trace-deprecation ... to show where the warning was crea
ted)
npm error node-pre-gyp http GET https://github.com/Automattic/node-canvas/releas
es/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://git
hub.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v12
7-win32-unknown-x64.tar.gz
npm error 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)
npm error node-pre-gyp WARN Hit error response status 404 Not Found on https://g
ithub.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v
127-win32-unknown-x64.tar.gz
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info ok
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info find Python using Python version 3.13.1 found at "C:\Users\to
ddh\AppData\Local\Programs\Python\Python313\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 Promp
t
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 o
r 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 o
r 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 Stud
io
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 *****************************************************
npm error gyp ERR! find VS
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Could not find any Visual Studio installation to
use
npm error gyp ERR! stack at VisualStudioFinder.fail (C:\Users\toddh\AppData\Roam
ing\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:118:11)
npm error gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\toddh
AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio
.js:74:17)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/pro
cess/task_queues:105:5)
npm error gyp ERR! stack at async createBuildDir (C:\Users\toddh\AppData\Roaming
\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:112:18)
npm error gyp ERR! stack at async run (C:\Users\toddh\AppData\Roaming\npm\node_m
odules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
npm error gyp ERR! System Windows_NT 10.0.26100
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\tod
dh\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-
gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=d:\Dev\q
uizologist\node_modules\canvas\build\Release\canvas.node" "--module_name=ca
nvas" "--module_path=d:\Dev\quizologist\node_modules\canvas\build\Release"
"--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi
_label=node-v127"
npm error gyp ERR! cwd d:\Dev\quizologist\node_modules\canvas
npm error gyp ERR! node -v v22.11.0
npm error gyp ERR! node-gyp -v v11.0.0
npm error gyp ERR! not ok
npm error node-pre-gyp ERR! build error
npm error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nod
ejs\node.exe C:\Users\toddh\AppData\Roaming\npm\node_modules\npm\node_modules\no
de-gyp\bin\node-gyp.js configure --fallback-to-build --update-binary --module=d:
\Dev\quizologist\node_modules\canvas\build\Release\canvas.node --module_name=can
vas --module_path=d:\Dev\quizologist\node_modules\canvas\build\Release --napi_ve
rsion=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127'
(1)
npm error node-pre-gyp ERR! stack at ChildProcess. (d:\Dev\quizol
ogist\node_modules@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
npm error node-pre-gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm error node-pre-gyp ERR! stack at maybeClose (node:internal/child_process
:1104:16)
npm error node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:inter
nal/child_process:304:5)
npm error node-pre-gyp ERR! System Windows_NT 10.0.26100
npm error node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "d:\D
ev\quizologist\node_modules\@mapbox\node-pre-gyp\bin\node-pre-gyp" "instal
l" "--fallback-to-build" "--update-binary"
npm error node-pre-gyp ERR! cwd d:\Dev\quizologist\node_modules\canvas
npm error node-pre-gyp ERR! node -v v22.11.0
npm error node-pre-gyp ERR! node-pre-gyp -v v1.0.11
npm error node-pre-gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\toddh\AppData\Loc
al\npm-cache_logs\2025-01-02T17_00_17_690Z-debug-0.log
The text was updated successfully, but these errors were encountered:
Running into the same issue. Seems like this release is no longer available? This is our error (linux build machine)
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-linux-glibc-x64.tar.gz
Updating to the new major version fixes this. But unfortunate we can't still use v2.x
2.x didn't use NAPI so it won't have builds for newer node versions. 3.0 didn't break anything except support for old versions of node, so should work for use cases like this. Are you using canvas as a dependency-of-a-dependency? If so, can you pressure the dependency to update using that information?
npm i canvas
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '\\?\d:\Dev\quizologist\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'd:\Dev\quizo
logist\node_modules@grpc\grpc-js'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'd:\Dev\quizologist\node_modules\@grpc\grpc-js
'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\d:\Dev\quizologist\node_modules\@firebase',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'd:\Dev\quizo
logist\node_modules@firebase\firestore'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'd:\Dev\quizologist\node_modules\@firebase\fir
estore'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path d:\Dev\quizologist\node_modules\canvas
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fa
llback-to-build --update-binary
npm error Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\toddh\App
Data\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configur
e --fallback-to-build --update-binary --module=d:\Dev\quizologist\node_modules\c
anvas\build\Release\canvas.node --module_name=canvas --module_path=d:\Dev\quizol
ogist\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 [email protected]
npm error node-pre-gyp info using [email protected] | win32 | x64
npm error (node:21660) [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/releas
es/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://git
hub.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v12
7-win32-unknown-x64.tar.gz
npm error 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)
npm error node-pre-gyp WARN Hit error response status 404 Not Found on https://g
ithub.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v
127-win32-unknown-x64.tar.gz
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info ok
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info find Python using Python version 3.13.1 found at "C:\Users\to
ddh\AppData\Local\Programs\Python\Python313\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 Promp
t
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 o
r 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 o
r 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 Stud
io
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 *****************************************************
npm error gyp ERR! find VS
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Could not find any Visual Studio installation to
use
npm error gyp ERR! stack at VisualStudioFinder.fail (C:\Users\toddh\AppData\Roam
ing\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:118:11)
npm error gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\toddh
AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio
.js:74:17)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/pro
cess/task_queues:105:5)
npm error gyp ERR! stack at async createBuildDir (C:\Users\toddh\AppData\Roaming
\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:112:18)
npm error gyp ERR! stack at async run (C:\Users\toddh\AppData\Roaming\npm\node_m
odules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
npm error gyp ERR! System Windows_NT 10.0.26100
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\tod
dh\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-
gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=d:\Dev\q
uizologist\node_modules\canvas\build\Release\canvas.node" "--module_name=ca
nvas" "--module_path=d:\Dev\quizologist\node_modules\canvas\build\Release"
"--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi
_label=node-v127"
npm error gyp ERR! cwd d:\Dev\quizologist\node_modules\canvas
npm error gyp ERR! node -v v22.11.0
npm error gyp ERR! node-gyp -v v11.0.0
npm error gyp ERR! not ok
npm error node-pre-gyp ERR! build error
npm error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nod
ejs\node.exe C:\Users\toddh\AppData\Roaming\npm\node_modules\npm\node_modules\no
de-gyp\bin\node-gyp.js configure --fallback-to-build --update-binary --module=d:
\Dev\quizologist\node_modules\canvas\build\Release\canvas.node --module_name=can
vas --module_path=d:\Dev\quizologist\node_modules\canvas\build\Release --napi_ve
rsion=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127'
(1)
npm error node-pre-gyp ERR! stack at ChildProcess. (d:\Dev\quizol
ogist\node_modules@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
npm error node-pre-gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm error node-pre-gyp ERR! stack at maybeClose (node:internal/child_process
:1104:16)
npm error node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:inter
nal/child_process:304:5)
npm error node-pre-gyp ERR! System Windows_NT 10.0.26100
npm error node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "d:\D
ev\quizologist\node_modules\@mapbox\node-pre-gyp\bin\node-pre-gyp" "instal
l" "--fallback-to-build" "--update-binary"
npm error node-pre-gyp ERR! cwd d:\Dev\quizologist\node_modules\canvas
npm error node-pre-gyp ERR! node -v v22.11.0
npm error node-pre-gyp ERR! node-pre-gyp -v v1.0.11
npm error node-pre-gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\toddh\AppData\Loc
al\npm-cache_logs\2025-01-02T17_00_17_690Z-debug-0.log
The text was updated successfully, but these errors were encountered: