# Error updating nodes, running in docker

**URL:** <https://discourse.nodered.org/t/error-updating-nodes-running-in-docker/57409>\
**Category:** General\
**Created:** [28 January 2022 14:18 UTC](https://discourse.nodered.org/t/error-updating-nodes-running-in-docker/57409 "2022-01-28T14:18:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blckshdw](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@blckshdw](https://discourse.nodered.org/u/blckshdw)\
**Post date:** [28 January 2022 14:18 UTC](https://discourse.nodered.org/t/error-updating-nodes-running-in-docker/57409/1 "2022-01-28T14:18:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![blckshdw](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@blckshdw](https://discourse.nodered.org/u/blckshdw)\
**Post date:** [29 January 2022 09:24 UTC](https://discourse.nodered.org/t/error-updating-nodes-running-in-docker/57409/2 "2022-01-29T09:24:37Z")

</div>

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](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](https://v8.dev/blog/math-random) 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](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](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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 March 2022 09:25 UTC](https://discourse.nodered.org/t/error-updating-nodes-running-in-docker/57409/3 "2022-03-30T09:25:03Z")

</div>

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