0% found this document useful (0 votes)
10 views6 pages

Node-RED Chatbot Installation Errors

The document details errors encountered when installing node-red-contrib-chatbot on a Raspberry Pi. There are warnings about deprecated packages and errors when trying to install sqlite3 due to missing build tools and an inability to download pre-built binaries.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views6 pages

Node-RED Chatbot Installation Errors

The document details errors encountered when installing node-red-contrib-chatbot on a Raspberry Pi. There are warnings about deprecated packages and errors when trying to install sqlite3 due to missing build tools and an inability to download pre-built binaries.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

pi@raspberrypi:~ $ npm install node-red-contrib-chatbot

npm WARN deprecated urix@0.1.0: Please see [Link]

npm WARN deprecated har-validator@5.1.5: this library is no longer supported

npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it


extends the now deprecated request package, see
[Link]

npm WARN deprecated resolve-url@0.2.1: [Link]

npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar
3 with 15x less dependencies.

npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using
insecure binaries. Upgrade to fsevents 2.

npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code
should use the URLSearchParams API instead.

npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may
use [Link]() in certain circumstances, which is known to be problematic.  See
[Link] for details.

npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may
use [Link]() in certain circumstances, which is known to be problematic.  See
[Link] for details.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may
use [Link]() in certain circumstances, which is known to be problematic.  See
[Link] for details.

npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may
use [Link]() in certain circumstances, which is known to be problematic.  See
[Link] for details.

npm WARN deprecated request@2.88.2: request has been deprecated, see


[Link]

npm WARN deprecated node-pre-gyp@0.11.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

npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive
security updates. Please upgrade asap.

npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not


recommended for usage due to the number of issues. Because of the V8 engine whims, feature
detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled.
Please, upgrade your dependencies to the actual version of core-js.

npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not


recommended for usage due to the number of issues. Because of the V8 engine whims, feature
detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled.
Please, upgrade your dependencies to the actual version of core-js.

npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not


recommended for usage due to the number of issues. Because of the V8 engine whims, feature
detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled.
Please, upgrade your dependencies to the actual version of core-js.

npm ERR! code 1

npm ERR! path /home/pi/node_modules/chat-platform/node_modules/sqlite3

npm ERR! command failed

npm ERR! command sh -c node-pre-gyp install --fallback-to-build

npm ERR! make: se entra en el directorio '/home/pi/node_modules/chat-


platform/node_modules/sqlite3/build'

npm ERR!   ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep


Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c

npm ERR! make: se sale del directorio '/home/pi/node_modules/chat-


platform/node_modules/sqlite3/build'
npm ERR! Failed to execute '/usr/bin/node /usr/share/nodejs/node-gyp/bin/[Link] build
--fallback-to-build --module=/home/pi/node_modules/chat-
platform/node_modules/sqlite3/lib/binding/node-v72-linux-arm/node_sqlite3.node
--module_name=node_sqlite3 --module_path=/home/pi/node_modules/chat-
platform/node_modules/sqlite3/lib/binding/node-v72-linux-arm --napi_version=8
--node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)

npm ERR! node-pre-gyp info it worked if it ends with ok

npm ERR! node-pre-gyp info using node-pre-gyp@0.11.0

npm ERR! node-pre-gyp info using node@12.22.5 | linux | arm

npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download

npm ERR! node-pre-gyp info check checked for "/home/pi/node_modules/chat-


platform/node_modules/sqlite3/lib/binding/node-v72-linux-arm/node_sqlite3.node" (not found)

npm ERR! node-pre-gyp http GET [Link]


[Link]/sqlite3/v4.2.0/[Link]

npm ERR! node-pre-gyp http 403 [Link]


[Link]/sqlite3/v4.2.0/[Link]

npm ERR! node-pre-gyp WARN Tried to download(403): [Link]


[Link]/sqlite3/v4.2.0/[Link]

npm ERR! node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.2.0 and node@12.22.5
(node-v72 ABI, glibc) (falling back to source compile with node-gyp)

npm ERR! node-pre-gyp http 403 status code downloading tarball [Link]
[Link]/sqlite3/v4.2.0/[Link]

npm ERR! gyp info it worked if it ends with ok

npm ERR! gyp info using node-gyp@7.1.2

npm ERR! gyp info using node@12.22.5 | linux | arm

npm ERR! gyp info ok

npm ERR! gyp info it worked if it ends with ok

npm ERR! gyp info using node-gyp@7.1.2

npm ERR! gyp info using node@12.22.5 | linux | arm

npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"

npm ERR! gyp info spawn /usr/bin/python3

npm ERR! gyp info spawn args [

npm ERR! gyp info spawn args   '/usr/share/nodejs/node-gyp/gyp/gyp_main.py',


npm ERR! gyp info spawn args   '[Link]',

npm ERR! gyp info spawn args   '-f',

npm ERR! gyp info spawn args   'make',

npm ERR! gyp info spawn args   '-I',

npm ERR! gyp info spawn args   '/home/pi/node_modules/chat-


platform/node_modules/sqlite3/build/[Link]',

npm ERR! gyp info spawn args   '-I',

npm ERR! gyp info spawn args   '/usr/share/nodejs/node-gyp/[Link]',

npm ERR! gyp info spawn args   '-I',

npm ERR! gyp info spawn args   '/usr/include/nodejs/[Link]',

npm ERR! gyp info spawn args   '-Dlibrary=shared_library',

npm ERR! gyp info spawn args   '-Dvisibility=default',

npm ERR! gyp info spawn args   '-Dnode_root_dir=/usr/include/nodejs',

npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp',

npm ERR! gyp info spawn args   '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/[Link]',

npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/pi/node_modules/chat-


platform/node_modules/sqlite3',

npm ERR! gyp info spawn args   '-Dnode_engine=v8',

npm ERR! gyp info spawn args   '--depth=.',

npm ERR! gyp info spawn args   '--no-parallel',

npm ERR! gyp info spawn args   '--generator-output',

npm ERR! gyp info spawn args   'build',

npm ERR! gyp info spawn args   '-Goutput_dir=.'

npm ERR! gyp info spawn args ]

npm ERR! gyp info ok

npm ERR! gyp info it worked if it ends with ok

npm ERR! gyp info using node-gyp@7.1.2

npm ERR! gyp info using node@12.22.5 | linux | arm

npm ERR! gyp info spawn make

npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]


npm ERR! /bin/sh: 1: python: not found

npm ERR! make: *** [deps/action_before_build.[Link]: Release/obj/gen/sqlite-autoconf-


3310100/sqlite3.c] Error 127

npm ERR! gyp ERR! build error

npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2

npm ERR! gyp ERR! stack     at [Link] (/usr/share/nodejs/node-


gyp/lib/[Link]:23)

npm ERR! gyp ERR! stack     at [Link] ([Link]:20)

npm ERR! gyp ERR! stack     at [Link]._handle.onexit


(internal/child_process.js:276:12)

npm ERR! gyp ERR! System Linux 5.10.63-v7+

npm ERR! gyp ERR! command "/usr/bin/node" "/usr/share/nodejs/node-gyp/bin/[Link]"


"build" "--fallback-to-build" "--module=/home/pi/node_modules/chat-
platform/node_modules/sqlite3/lib/binding/node-v72-linux-arm/node_sqlite3.node" "--
module_name=node_sqlite3" "--module_path=/home/pi/node_modules/chat-
platform/node_modules/sqlite3/lib/binding/node-v72-linux-arm" "--napi_version=8" "--
node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"

npm ERR! gyp ERR! cwd /home/pi/node_modules/chat-platform/node_modules/sqlite3

npm ERR! gyp ERR! node -v v12.22.5

npm ERR! gyp ERR! node-gyp -v v7.1.2

npm ERR! gyp ERR! not ok

npm ERR! node-pre-gyp ERR! build error

npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node


/usr/share/nodejs/node-gyp/bin/[Link] build --fallback-to-build
--module=/home/pi/node_modules/chat-platform/node_modules/sqlite3/lib/binding/node-v72-
linux-arm/node_sqlite3.node --module_name=node_sqlite3
--module_path=/home/pi/node_modules/chat-platform/node_modules/sqlite3/lib/binding/node-
v72-linux-arm --napi_version=8 --node_abi_napi=napi --napi_build_version=0
--node_napi_label=node-v72' (1)

npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous>


(/home/pi/node_modules/node-pre-gyp/lib/util/[Link]:29)

npm ERR! node-pre-gyp ERR! stack     at [Link] ([Link]:20)

npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)


npm ERR! node-pre-gyp ERR! stack     at [Link]._handle.onexit
(internal/child_process.js:287:5)

npm ERR! node-pre-gyp ERR! System Linux 5.10.63-v7+

npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/node_modules/.bin/node-


pre-gyp" "install" "--fallback-to-build"

npm ERR! node-pre-gyp ERR! cwd /home/pi/node_modules/chat-platform/node_modules/sqlite3

npm ERR! node-pre-gyp ERR! node -v v12.22.5

npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0

npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:

npm ERR!     /home/pi/.npm/_logs/2021-12-11T21_30_02_125Z-[Link]

You might also like