-----------------------------------------------------------
2021-07-16T04:05:38.212Z Install : node-red-contrib-tensorflow-js 0.0.8
2021-07-16T04:05:38.247Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-tensorflow-js@0.0.8
2021-07-16T04:05:53.504Z [err] npm
2021-07-16T04:05:53.505Z [err] WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
2021-07-16T04:06:08.776Z [out]
2021-07-16T04:06:08.776Z [out] > canvas@2.8.0 install /home/pi/.node-red/node_modules/canvas
2021-07-16T04:06:08.776Z [out] > node-pre-gyp install --fallback-to-build
2021-07-16T04:06:08.776Z [out]
2021-07-16T04:06:10.483Z [err] node-pre-gyp
2021-07-16T04:06:10.486Z [err]
2021-07-16T04:06:10.489Z [err] ERR!
2021-07-16T04:06:10.492Z [err]
2021-07-16T04:06:10.494Z [err] install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v83-linux-glibc-arm.tar.gz
2021-07-16T04:06:10.497Z [err]
2021-07-16T04:06:10.499Z [err] node-pre-gyp
2021-07-16T04:06:10.500Z [err] WARN Pre-built binaries not installable for canvas@2.8.0 and node@14.17.2 (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
2021-07-16T04:06:10.500Z [err] 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-v83-linux-glibc-arm.tar.gz
2021-07-16T04:06:15.628Z [err] Package pixman-1 was not found in the pkg-config search path.
2021-07-16T04:06:15.628Z [err] Perhaps you should add the directory containing `pixman-1.pc'
2021-07-16T04:06:15.628Z [err] to the PKG_CONFIG_PATH environment variable
2021-07-16T04:06:15.628Z [err] No package 'pixman-1' found
2021-07-16T04:06:15.630Z [err] gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
2021-07-16T04:06:15.670Z [err] gyp ERR! configure error
2021-07-16T04:06:15.670Z [err] gyp
2021-07-16T04:06:15.671Z [err] ERR! stack Error: `gyp` failed with exit code: 1
2021-07-16T04:06:15.671Z [err] gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
2021-07-16T04:06:15.671Z [err] gyp ERR! stack at ChildProcess.emit (events.js:375:28)
2021-07-16T04:06:15.671Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
2021-07-16T04:06:15.672Z [err] gyp ERR!
2021-07-16T04:06:15.673Z [err] System Linux 5.10.17-v7l+
2021-07-16T04:06:15.673Z [err] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/pi/.node-red/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/home/pi/.node-red/node_modules/canvas/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
2021-07-16T04:06:15.674Z [err] gyp ERR! cwd /home/pi/.node-red/node_modules/canvas
2021-07-16T04:06:15.675Z [err] gyp ERR! node -v v14.17.2
2021-07-16T04:06:15.675Z [err] gyp ERR! node-gyp -v v5.1.0
2021-07-16T04:06:15.675Z [err] gyp
2021-07-16T04:06:15.675Z [err] ERR! not ok
2021-07-16T04:06:15.691Z [err] node-pre-gyp
2021-07-16T04:06:15.692Z [err] ERR! build error
2021-07-16T04:06:15.693Z [err] node-pre-gyp
2021-07-16T04:06:15.694Z [err] ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/.node-red/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/.node-red/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
2021-07-16T04:06:15.694Z [err] node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/.node-red/node_modules/canvas/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
2021-07-16T04:06:15.694Z [err] node-pre-gyp ERR! stack at ChildProcess.emit (events.js:375:28)
2021-07-16T04:06:15.694Z [err] node-pre-gyp
2021-07-16T04:06:15.695Z [err] ERR! stack at maybeClose (internal/child_process.js:1055:16)
2021-07-16T04:06:15.695Z [err] node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
2021-07-16T04:06:15.697Z [err] node-pre-gyp ERR!
2021-07-16T04:06:15.697Z [err] System Linux 5.10.17-v7l+
2021-07-16T04:06:15.697Z [err] node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/.node-red/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2021-07-16T04:06:15.697Z [err] node-pre-gyp ERR!
2021-07-16T04:06:15.698Z [err] cwd /home/pi/.node-red/node_modules/canvas
2021-07-16T04:06:15.698Z [err] node-pre-gyp ERR! node -v v14.17.2
2021-07-16T04:06:15.699Z [err] node-pre-gyp ERR! node-pre-gyp -v v1.0.5
2021-07-16T04:06:15.699Z [err] node-pre-gyp ERR! not ok
2021-07-16T04:06:15.701Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/.node-red/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/.node-red/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
2021-07-16T04:06:17.596Z [err] npm
2021-07-16T04:06:17.597Z [err]
2021-07-16T04:06:17.597Z [err] WARN
2021-07-16T04:06:17.598Z [err] @tensorflow-models/mobilenet@2.1.0 requires a peer of @tensorflow/tfjs-converter@^3.1.0 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:06:17.659Z [err] npm
2021-07-16T04:06:17.660Z [err]
2021-07-16T04:06:17.661Z [err] WARN
2021-07-16T04:06:17.662Z [err] @tensorflow-models/mobilenet@2.1.0 requires a peer of @tensorflow/tfjs-core@^3.1.0 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:06:17.739Z [err] npm
2021-07-16T04:06:17.740Z [err]
2021-07-16T04:06:17.740Z [err] WARN
2021-07-16T04:06:17.750Z [err] @tensorflow-models/posenet@2.2.2 requires a peer of @tensorflow/tfjs-converter@^3.0.0-rc.1 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:06:17.806Z [err] npm
2021-07-16T04:06:17.807Z [err]
2021-07-16T04:06:17.808Z [err] WARN
2021-07-16T04:06:17.808Z [err] @tensorflow-models/posenet@2.2.2 requires a peer of @tensorflow/tfjs-core@^3.0.0-rc.1 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:06:17.810Z [err]
2021-07-16T04:06:17.870Z [err] npm
2021-07-16T04:06:17.871Z [err]
2021-07-16T04:06:17.872Z [err] ERR!
2021-07-16T04:06:17.872Z [err]
2021-07-16T04:06:17.873Z [err] code
2021-07-16T04:06:17.874Z [err] ELIFECYCLE
2021-07-16T04:06:17.875Z [err] npm
2021-07-16T04:06:17.876Z [err]
2021-07-16T04:06:17.877Z [err] ERR!
2021-07-16T04:06:17.878Z [err]
2021-07-16T04:06:17.879Z [err] errno
2021-07-16T04:06:17.880Z [err] 1
2021-07-16T04:06:17.899Z [err] npm
2021-07-16T04:06:17.900Z [err]
2021-07-16T04:06:17.901Z [err] ERR!
2021-07-16T04:06:17.901Z [err] canvas@2.8.0 install: `node-pre-gyp install --fallback-to-build`
2021-07-16T04:06:17.901Z [err] npm
2021-07-16T04:06:17.902Z [err]
2021-07-16T04:06:17.902Z [err] ERR!
2021-07-16T04:06:17.903Z [err] Exit status 1
2021-07-16T04:06:17.904Z [err] npm
2021-07-16T04:06:17.905Z [err]
2021-07-16T04:06:17.905Z [err] ERR!
2021-07-16T04:06:17.906Z [err]
2021-07-16T04:06:17.907Z [err] npm
2021-07-16T04:06:17.909Z [err]
2021-07-16T04:06:17.910Z [err] ERR!
2021-07-16T04:06:17.911Z [err] Failed at the canvas@2.8.0 install script.
2021-07-16T04:06:17.912Z [err] npm
2021-07-16T04:06:17.912Z [err]
2021-07-16T04:06:17.914Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-07-16T04:06:17.956Z [err]
2021-07-16T04:06:17.956Z [err] npm ERR! A complete log of this run can be found in:
2021-07-16T04:06:17.956Z [err] npm ERR! /home/pi/.npm/_logs/2021-07-16T04_06_17_925Z-debug.log
2021-07-16T04:06:17.985Z rc=1
-----------------------------------------------------------
2021-07-16T04:14:42.185Z Install : node-red-contrib-tensorflow-js 0.0.8
2021-07-16T04:14:42.200Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-tensorflow-js@0.0.8
2021-07-16T04:14:56.840Z [err] npm
2021-07-16T04:14:56.841Z [err] WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
2021-07-16T04:15:07.956Z [out]
2021-07-16T04:15:07.956Z [out] > canvas@2.8.0 install /home/pi/.node-red/node_modules/canvas
2021-07-16T04:15:07.956Z [out] > node-pre-gyp install --fallback-to-build
2021-07-16T04:15:07.956Z [out]
2021-07-16T04:15:08.953Z [err] node-pre-gyp
2021-07-16T04:15:08.954Z [err] ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v83-linux-glibc-arm.tar.gz
2021-07-16T04:15:08.955Z [err] node-pre-gyp
2021-07-16T04:15:08.956Z [err] WARN Pre-built binaries not installable for canvas@2.8.0 and node@14.17.2 (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
2021-07-16T04:15:08.956Z [err] 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-v83-linux-glibc-arm.tar.gz
2021-07-16T04:15:11.669Z [err] Package pixman-1 was not found in the pkg-config search path.
2021-07-16T04:15:11.669Z [err] Perhaps you should add the directory containing `pixman-1.pc'
2021-07-16T04:15:11.669Z [err] to the PKG_CONFIG_PATH environment variable
2021-07-16T04:15:11.669Z [err] No package 'pixman-1' found
2021-07-16T04:15:11.670Z [err] gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
2021-07-16T04:15:11.689Z [err] gyp
2021-07-16T04:15:11.689Z [err]
2021-07-16T04:15:11.689Z [err] ERR! configure error
2021-07-16T04:15:11.691Z [err] gyp
2021-07-16T04:15:11.691Z [err] ERR! stack Error: `gyp` failed with exit code: 1
2021-07-16T04:15:11.691Z [err] gyp
2021-07-16T04:15:11.691Z [err] ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
2021-07-16T04:15:11.691Z [err] gyp ERR!
2021-07-16T04:15:11.691Z [err] stack at ChildProcess.emit (events.js:375:28)
2021-07-16T04:15:11.691Z [err] gyp
2021-07-16T04:15:11.692Z [err] ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
2021-07-16T04:15:11.692Z [err] gyp
2021-07-16T04:15:11.692Z [err] ERR! System Linux 5.10.17-v7l+
2021-07-16T04:15:11.692Z [err] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/pi/.node-red/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/home/pi/.node-red/node_modules/canvas/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
2021-07-16T04:15:11.693Z [err] gyp ERR!
2021-07-16T04:15:11.693Z [err] cwd /home/pi/.node-red/node_modules/canvas
2021-07-16T04:15:11.693Z [err] gyp
2021-07-16T04:15:11.693Z [err] ERR! node -v v14.17.2
2021-07-16T04:15:11.693Z [err] gyp
2021-07-16T04:15:11.693Z [err] ERR! node-gyp -v v5.1.0
2021-07-16T04:15:11.693Z [err] gyp
2021-07-16T04:15:11.693Z [err] ERR! not ok
2021-07-16T04:15:11.702Z [err] node-pre-gyp
2021-07-16T04:15:11.702Z [err] ERR! build error
2021-07-16T04:15:11.703Z [err] node-pre-gyp
2021-07-16T04:15:11.703Z [err] ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/.node-red/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/.node-red/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
2021-07-16T04:15:11.703Z [err] node-pre-gyp ERR!
2021-07-16T04:15:11.703Z [err] stack at ChildProcess.<anonymous> (/home/pi/.node-red/node_modules/canvas/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
2021-07-16T04:15:11.703Z [err] node-pre-gyp ERR! stack at ChildProcess.emit (events.js:375:28)
2021-07-16T04:15:11.703Z [err] node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1055:16)
2021-07-16T04:15:11.703Z [err] node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
2021-07-16T04:15:11.704Z [err] node-pre-gyp
2021-07-16T04:15:11.704Z [err] ERR! System Linux 5.10.17-v7l+
2021-07-16T04:15:11.704Z [err] node-pre-gyp
2021-07-16T04:15:11.704Z [err] ERR! command "/usr/bin/node" "/home/pi/.node-red/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2021-07-16T04:15:11.705Z [err] node-pre-gyp ERR! cwd /home/pi/.node-red/node_modules/canvas
2021-07-16T04:15:11.705Z [err] node-pre-gyp
2021-07-16T04:15:11.705Z [err] ERR! node -v v14.17.2
2021-07-16T04:15:11.705Z [err] node-pre-gyp ERR! node-pre-gyp -v v1.0.5
2021-07-16T04:15:11.705Z [err] node-pre-gyp ERR! not ok
2021-07-16T04:15:11.706Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/.node-red/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/.node-red/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
2021-07-16T04:15:12.684Z [err] npm WARN
2021-07-16T04:15:12.685Z [err] @tensorflow-models/mobilenet@2.1.0 requires a peer of @tensorflow/tfjs-converter@^3.1.0 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:15:12.713Z [err] npm WARN
2021-07-16T04:15:12.714Z [err] @tensorflow-models/mobilenet@2.1.0 requires a peer of @tensorflow/tfjs-core@^3.1.0 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:15:12.741Z [err] npm WARN
2021-07-16T04:15:12.742Z [err] @tensorflow-models/posenet@2.2.2 requires a peer of @tensorflow/tfjs-converter@^3.0.0-rc.1 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:15:12.769Z [err] npm
2021-07-16T04:15:12.769Z [err] WARN @tensorflow-models/posenet@2.2.2 requires a peer of @tensorflow/tfjs-core@^3.0.0-rc.1 but none is installed. You must install peer dependencies yourself.
2021-07-16T04:15:12.770Z [err]
2021-07-16T04:15:12.807Z [err] npm
2021-07-16T04:15:12.807Z [err] ERR! code ELIFECYCLE
2021-07-16T04:15:12.807Z [err] npm ERR! errno 1
2021-07-16T04:15:12.818Z [err] npm
2021-07-16T04:15:12.818Z [err] ERR! canvas@2.8.0 install: `node-pre-gyp install --fallback-to-build`
2021-07-16T04:15:12.818Z [err] npm ERR! Exit status 1
2021-07-16T04:15:12.818Z [err] npm ERR!
2021-07-16T04:15:12.818Z [err]
2021-07-16T04:15:12.818Z [err] npm ERR! Failed at the canvas@2.8.0 install script.
2021-07-16T04:15:12.818Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-07-16T04:15:12.850Z [err]
2021-07-16T04:15:12.850Z [err] npm ERR! A complete log of this run can be found in:
2021-07-16T04:15:12.850Z [err] npm ERR! /home/pi/.npm/_logs/2021-07-16T04_15_12_825Z-debug.log
2021-07-16T04:15:12.869Z rc=1
I have node red installation error with rapsberry pi,
I tried to put custom-binary.json file to the library but I cannot put it as there is permission error.
pls give some sugestion on that. Thank you.