Error updating nodes, running in docker

I can't update any node and receiving the following errors.
I tried to delete the file mentioned, but the error returns for another file.
Are these known issues when running in docker since one of the latest versions?
I'm running node-red 2.2.0 now, latest docker container.
I keep the container up to date daily with watchtower and the problems occured today.

2022-01-28T14:14:08.923Z Install : node-red-contrib-chatbot 0.19.11

2022-01-28T14:13:42.307Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-chatbot@0.19.11
2022-01-28T14:13:56.471Z [err] npm
2022-01-28T14:13:56.471Z [err] 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
2022-01-28T14:13:57.406Z [err] npm WARN deprecated
2022-01-28T14:13:57.406Z [err] core-js@2.6.12: core-js@<3.4 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.
2022-01-28T14:13:57.507Z [err] npm WARN deprecated
2022-01-28T14:13:57.507Z [err] tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
2022-01-28T14:14:08.195Z [err] npm WARN babel-loader@7.1.5 requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
2022-01-28T14:14:08.207Z [err] npm WARN babel-loader@7.1.5 requires a peer of webpack@2 || 3 || 4 but none is installed. You must install peer dependencies yourself.
2022-01-28T14:14:08.208Z [err]
2022-01-28T14:14:08.242Z [err] npm ERR! code
2022-01-28T14:14:08.242Z [err] EEXIST
2022-01-28T14:14:08.242Z [err] npm ERR! path /data/node_modules/.bin/escodegen
2022-01-28T14:14:08.253Z [err] npm ERR! Refusing to delete /data/node_modules/.bin/escodegen: is outside /data/node_modules/escodegen and not a link
2022-01-28T14:14:08.253Z [err] npm ERR! File exists: /data/node_modules/.bin/escodegen
2022-01-28T14:14:08.253Z [err] npm ERR! Remove the existing file and try again, or run npm
2022-01-28T14:14:08.253Z [err] npm ERR! with --force to overwrite files recklessly.
2022-01-28T14:14:08.278Z [err]
2022-01-28T14:14:08.278Z [err] npm ERR! A complete log of this run can be found in:
2022-01-28T14:14:08.278Z [err] npm ERR! /data/.npm/_logs/2022-01-28T14_14_08_269Z-debug.log
2022-01-28T14:14:08.293Z rc=1

Running the command proposed with --force gives me a lot of errors:

bash-5.0$ npm install --force --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict no de-red-contrib-chatbot@0.19.11
npm WARN using --force I sure hope you know what you are doing.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
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 There’s Math.random(), and then there’s Math.random() · V8 for details.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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 request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.12: core-js@<3.4 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 tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

sqlite3@4.2.0 install /usr/src/node-red/node_modules/chat-platform/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-linux-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.2.0 and node@14.18.2 (node-v83 ABI, musl) (falling back to source compile with node-gyp)
make: Entering directory '/usr/src/node-red/node_modules/chat-platform/node_modules/sqlite3/build'
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3310100/sqlite3.o
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function 'strftimeFunc':
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void )' to 'void ()(void )' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:22663:52: note: in expansion of macro 'SQLITE_DYNAMIC'
22663 | z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function 'sqlite3ErrorWithMsg':
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (
)(void )' to 'void ()(void )' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:31142:54: note: in expansion of macro 'SQLITE_DYNAMIC'
31142 | sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function 'sqlite3VdbeMemSetStr':
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (
)(void )' to 'void ()(void )' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:76549:15: note: in expansion of macro 'SQLITE_DYNAMIC'
76549 | if( xDel==SQLITE_DYNAMIC ){
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function 'valueFromExpr':
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (
)(void )' to 'void ()(void )' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:76964:55: note: in expansion of macro 'SQLITE_DYNAMIC'
76964 | sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (
)(void )' to 'void ()(void )' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:77016:29: note: in expansion of macro 'SQLITE_DYNAMIC'
77016 | 0, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c: In function 'sqlite3VdbeExec':
Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c:92582:38: warning: cast between incompatible function types from 'int (
)(u32, void *, void *, void )' {aka 'int ()(unsigned int, void , void , void )'} to 'void ()(void , const char )' [-Wcast-function-type]
92582 | void (x)(void,const char
) = (void(
)(void
,const char
))db->xTrace;
| ^
^Cmake: *** [deps/sqlite3.target.mk:143: Release/obj.target/sqlite3/gen/sqlite-autoconf-3310100/sqlite3.o] Interrupt

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.