Unable to update node node-red-contrib-function-npm through palette #670
tompijls posted onGitHub
Problem/Motivation
I'm running Node-Red 7.0.0 on HassOS 4.12 / supervisor 235 I'm trying to update node-red-contrib-function-npm from 0.3.0 to 0.4.0 through palette, which fails (Install failed
This is shown in the event log: `----------------------------------------------------------- 2020-08-30T17:05:59.437Z Install : node-red-contrib-function-npm 0.4.0
2020-08-30T17:05:59.474Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-function-npm@0.4.0 2020-08-30T17:06:40.451Z [err] npm 2020-08-30T17:06:40.452Z [err] WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated 2020-08-30T17:06:40.467Z [err] npm 2020-08-30T17:06:40.467Z [err] WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated 2020-08-30T17:07:04.434Z [err] npm 2020-08-30T17:07:04.434Z [err] ERR! code EEXIST 2020-08-30T17:07:04.435Z [err] npm ERR! path 2020-08-30T17:07:04.435Z [err] /config/node-red/node_modules/.bin/npm 2020-08-30T17:07:04.441Z [err] npm 2020-08-30T17:07:04.441Z [err] ERR! Refusing to delete /config/node-red/node_modules/.bin/npm: is outside /config/node-red/node_modules/npm and not a link 2020-08-30T17:07:04.441Z [err] npm 2020-08-30T17:07:04.442Z [err] ERR! File exists: /config/node-red/node_modules/.bin/npm 2020-08-30T17:07:04.442Z [err] npm ERR! 2020-08-30T17:07:04.442Z [err] Remove the existing file and try again, or run npm 2020-08-30T17:07:04.442Z [err] npm 2020-08-30T17:07:04.443Z [err] ERR! with --force to overwrite files recklessly. 2020-08-30T17:07:04.635Z [err] 2020-08-30T17:07:04.636Z [err] npm ERR! 2020-08-30T17:07:04.636Z [err] A complete log of this run can be found in: 2020-08-30T17:07:04.636Z [err] npm ERR! /root/.npm/_logs/2020-08-30T17_07_04_569Z-debug.log 2020-08-30T17:07:04.672Z rc=1`