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: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.