Cannot install any palette into node-red

Hello everybody.
I have installed node red on my macbook air (ARM) in the latest version.
when i want to install a addon palette, it does not work.
it does not mind if i install it directly via "palette verwalten - Installation" or via Terminal.
in terminal i am running e.g the code "npm install node-red-contrib-fronius-solar"

In Terminal and within node red, there is the following error code.
Can you please help me what is going wrong?

kind regards
Marcus

Blockquote

-----------------------------------------------------------

2023-03-09T05:51:24.545Z Installieren : node-red-contrib-fronius-solar 1.0.3

2023-03-09T05:51:24.555Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-fronius-solar@1.0.3

2023-03-09T05:51:24.953Z [err] npm

2023-03-09T05:51:24.954Z [err] WARN config production Use `--omit=dev` instead.

2023-03-09T05:51:34.098Z [err] npm

2023-03-09T05:51:34.098Z [err] ERR! code ENOENT

2023-03-09T05:51:34.098Z [err] npm ERR! syscall rename

2023-03-09T05:51:34.098Z [err] npm ERR! path /Users/MarcusHoffmannNeu/.npm/_cacache/tmp/c16d39bf

2023-03-09T05:51:34.098Z [err] npm ERR! dest /Users/MarcusHoffmannNeu/.npm/_cacache/content-v2/sha512/55/a6/ecf649ef0e52c75b05ee0c3f0d4beabfb4aba4f1d8d0f0a954556b3b5d5f9fafe480685e971c5641059f91bea4932f240b48fb7561384854cc777c626b9d

2023-03-09T05:51:34.098Z [err] npm ERR! errno ENOENT

2023-03-09T05:51:34.100Z [err] npm ERR! enoent

2023-03-09T05:51:34.100Z [err] Invalid response body while trying to fetch https://registry.npmjs.org/regenerator-runtime: ENOENT: no such file or directory, rename '/Users/MarcusHoffmannNeu/.npm/_cacache/tmp/c16d39bf' -> '/Users/MarcusHoffmannNeu/.npm/_cacache/content-v2/sha512/55/a6/ecf649ef0e52c75b05ee0c3f0d4beabfb4aba4f1d8d0f0a954556b3b5d5f9fafe480685e971c5641059f91bea4932f240b48fb7561384854cc777c626b9d'

2023-03-09T05:51:34.100Z [err] npm ERR! enoent This is related to npm not being able to find a file.

2023-03-09T05:51:34.100Z [err] npm ERR!

2023-03-09T05:51:34.100Z [err] enoent

2023-03-09T05:51:34.101Z [err]

2023-03-09T05:51:34.101Z [err] npm ERR!

2023-03-09T05:51:34.102Z [err] A complete log of this run can be found in:

2023-03-09T05:51:34.102Z [err] npm ERR! /Users/MarcusHoffmannNeu/.npm/_logs/2023-03-09T05_51_24_935Z-debug-0.log

2023-03-09T05:51:34.119Z rc=1

> Blockquote 

on my mac in the user directory/.npm/_logs there is a really long log file

I cannot post this, there is the error
An error occurred: Body is limited to 32000 characters; you entered 105633.
So i try to delete something of the error log...

> Blockquote
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using npm@9.5.0
2 info using node@v18.14.2
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 3ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 0ms
6 timing config:load:builtin Completed in 0ms
7 warn config production Use `--omit=dev` instead.
8 timing config:load:cli Completed in 1ms
9 timing config:load:env Completed in 0ms
10 timing config:load:file:/Users/MarcusHoffmannNeu/.node-red/.npmrc Completed in 1ms
11 timing config:load:project Completed in 1ms
12 timing config:load:file:/Users/MarcusHoffmannNeu/.npmrc Completed in 0ms
13 timing config:load:user Completed in 0ms
14 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
15 timing config:load:global Completed in 0ms
16 timing config:load:setEnvs Completed in 1ms
17 timing config:load Completed in 6ms
18 timing npm:load:configload Completed in 6ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm install node-red-contrib-fronius-solar@1.0.3
22 verbose argv "install" "--no-audit" "--no-update-notifier" "--no-fund" "--save" "--save-prefix" "~" "--production" "--engine-strict" "node-red-contrib-fronius-solar@1.0.3"
23 timing npm:load:setTitle Completed in 6ms
24 timing config:load:flatten Completed in 1ms
25 timing npm:load:display Completed in 2ms
26 verbose logfile logs-max:10 dir:/Users/MarcusHoffmannNeu/.npm/_logs/2023-03-09T05_51_24_935Z-
27 verbose logfile /Users/MarcusHoffmannNeu/.npm/_logs/2023-03-09T05_51_24_935Z-debug-0.log
28 timing npm:load:logFile Completed in 2ms
29 timing npm:load:timers Completed in 0ms
30 timing npm:load:configScope Completed in 0ms
31 timing npm:load Completed in 19ms
32 timing arborist:ctor Completed in 1ms
33 silly logfile start cleaning logs, removing 2 files
34 silly logfile done cleaning log files
35 timing arborist:ctor Completed in 0ms
36 timing idealTree:init Completed in 6ms
37 timing idealTree:userRequests Completed in 2ms
38 silly idealTree buildDeps
39 silly fetch manifest node-red-contrib-fronius-solar@1.0.3
40 http fetch GET 200 https://registry.npmjs.org/node-red-contrib-fronius-solar 802ms (cache revalidated)
41 silly placeDep ROOT node-red-contrib-fronius-solar@1.0.3 OK for: node-red-project@0.0.1 want: 1.0.3
42 silly fetch manifest mocha@^9.1.2
43 silly fetch manifest node-fronius-solar@^0.0.10
44 silly fetch manifest npm-check@^5.9.2
45 http fetch GET 200 https://registry.npmjs.org/mocha 70ms (cache revalidated)
46 http fetch GET 200 https://registry.npmjs.org/node-fronius-solar 222ms (cache revalidated)
47 http fetch GET 200 https://registry.npmjs.org/npm-check 723ms (cache revalidated)
48 timing idealTree:#root Completed in 1539ms
49 silly placeDep ROOT mocha@9.2.2 OK for: node-red-contrib-fronius-solar@1.0.3 want: ^9.1.2
50 silly placeDep ROOT node-fronius-solar@0.0.10 OK for: node-red-contrib-fronius-solar@1.0.3 want: ^0.0.10
51 silly placeDep ROOT npm-check@5.9.2 OK for: node-red-contrib-fronius-solar@1.0.3 want: ^5.9.2
52 silly fetch manifest @ungap/promise-all-settled@1.1.2
... ... ...

1068 silly placeDep ROOT spdx-expression-parse@3.0.1 OK for: validate-npm-package-license@3.0.4 want: ^3.0.0
1069 silly fetch manifest spdx-license-ids@^3.0.0
1070 silly fetch manifest spdx-exceptions@^2.1.0
1071 http fetch GET 200 https://registry.npmjs.org/spdx-license-ids 41ms (cache revalidated)
1072 http fetch GET 200 https://registry.npmjs.org/spdx-exceptions 43ms (cache revalidated)
1073 timing idealTree:node_modules/validate-npm-package-license Completed in 51ms
1074 silly placeDep ROOT spdx-license-ids@3.0.12 OK for: spdx-correct@3.2.0 want: ^3.0.0
1075 timing idealTree:node_modules/spdx-correct Completed in 2ms
1076 silly placeDep ROOT spdx-exceptions@2.3.0 OK for: spdx-expression-parse@3.0.1 want: ^2.1.0
1077 timing idealTree:node_modules/spdx-expression-parse Completed in 1ms
1078 timing idealTree:node_modules/spdx-exceptions Completed in 0ms
1079 timing idealTree:node_modules/spdx-license-ids Completed in 0ms
1080 silly placeDep ROOT de-indent@1.0.2 OK for: vue-template-compiler@2.7.14 want: ^1.0.2
1081 timing idealTree:node_modules/vue-template-compiler Completed in 1ms
1082 timing idealTree:node_modules/de-indent Completed in 0ms
1083 timing idealTree:node_modules/walkdir Completed in 0ms
1084 silly placeDep ROOT isexe@2.0.0 OK for: which@2.0.2 want: ^2.0.0
1085 timing idealTree:node_modules/which Completed in 1ms
1086 timing idealTree:node_modules/isexe Completed in 0ms
1087 silly placeDep ROOT load-yaml-file@0.1.1 OK for: which-pm@1.1.0 want: ^0.1.0
1088 silly placeDep node_modules/which-pm path-exists@3.0.0 OK for: which-pm@1.1.0 want: ^3.0.0
1089 silly fetch manifest js-yaml@^3.13.0
1090 silly fetch manifest strip-bom@^3.0.0
1091 timing idealTree:node_modules/which-pm Completed in 5ms
1092 silly placeDep node_modules/load-yaml-file js-yaml@3.14.1 OK for: load-yaml-file@0.1.1 want: ^3.13.0
1093 silly placeDep node_modules/load-yaml-file strip-bom@3.0.0 OK for: load-yaml-file@0.1.1 want: ^3.0.0
1094 timing idealTree:node_modules/load-yaml-file Completed in 2ms
1095 silly placeDep node_modules/widest-line string-width@2.1.1 OK for: widest-line@2.0.1 want: ^2.1.1
1096 timing idealTree:node_modules/widest-line Completed in 1ms
1097 timing idealTree:node_modules/workerpool Completed in 0ms
1098 timing idealTree:node_modules/wrappy Completed in 0ms
1099 silly placeDep ROOT imurmurhash@0.1.4 OK for: write-file-atomic@2.4.3 want: ^0.1.4
1100 timing idealTree:node_modules/write-file-atomic Completed in 0ms
1101 timing idealTree:node_modules/imurmurhash Completed in 0ms
1102 timing idealTree:node_modules/xdg-basedir Completed in 0ms
1103 timing idealTree:node_modules/xtend Completed in 0ms
1104 timing idealTree:node_modules/yallist Completed in 0ms
1105 silly placeDep ROOT cliui@7.0.4 OK for: yargs@16.2.0 want: ^7.0.2
1106 silly placeDep ROOT escalade@3.1.1 OK for: yargs@16.2.0 want: ^3.1.1
1107 silly placeDep ROOT get-caller-file@2.0.5 OK for: yargs@16.2.0 want: ^2.0.5
1108 silly placeDep ROOT require-directory@2.1.1 OK for: yargs@16.2.0 want: ^2.1.1
1109 silly placeDep node_modules/yargs string-width@4.2.3 OK for: yargs@16.2.0 want: ^4.2.0
1110 silly placeDep ROOT y18n@5.0.8 OK for: yargs@16.2.0 want: ^5.0.5
1111 silly fetch manifest strip-ansi@^6.0.0
1112 silly fetch manifest wrap-ansi@^7.0.0
1113 silly fetch manifest emoji-regex@^8.0.0
1114 silly fetch manifest is-fullwidth-code-point@^3.0.0
1115 silly fetch manifest strip-ansi@^6.0.1
1116 http fetch GET 200 https://registry.npmjs.org/emoji-regex 32ms (cache revalidated)
1117 http fetch GET 200 https://registry.npmjs.org/wrap-ansi 38ms (cache revalidated)
1118 timing idealTree:node_modules/yargs Completed in 44ms
1119 silly placeDep node_modules/cliui string-width@4.2.3 OK for: cliui@7.0.4 want: ^4.2.0
1120 silly placeDep node_modules/cliui strip-ansi@6.0.1 OK for: cliui@7.0.4 want: ^6.0.0
1121 silly placeDep ROOT wrap-ansi@7.0.0 OK for: cliui@7.0.4 want: ^7.0.0
1122 silly fetch manifest ansi-regex@^5.0.1
1123 silly fetch manifest string-width@^4.1.0
1124 timing idealTree:node_modules/cliui Completed in 2ms
1125 timing idealTree:node_modules/escalade Completed in 0ms
1126 timing idealTree:node_modules/get-caller-file Completed in 0ms
1127 timing idealTree:node_modules/require-directory Completed in 0ms
1128 silly placeDep node_modules/wrap-ansi string-width@4.2.3 OK for: wrap-ansi@7.0.0 want: ^4.1.0
1129 silly placeDep node_modules/wrap-ansi strip-ansi@6.0.1 OK for: wrap-ansi@7.0.0 want: ^6.0.0
1130 timing idealTree:node_modules/wrap-ansi Completed in 1ms
1131 timing idealTree:node_modules/y18n Completed in 0ms
1132 timing idealTree:node_modules/yargs-parser Completed in 0ms
1133 silly placeDep node_modules/yargs-unparser camelcase@6.3.0 OK for: yargs-unparser@2.0.0 want: ^6.0.0
1134 silly placeDep node_modules/yargs-unparser decamelize@4.0.0 OK for: yargs-unparser@2.0.0 want: ^4.0.0
1135 silly placeDep ROOT flat@5.0.2 OK for: yargs-unparser@2.0.0 want: ^5.0.2
1136 silly placeDep ROOT is-plain-obj@2.1.0 OK for: yargs-unparser@2.0.0 want: ^2.1.0
1137 timing idealTree:node_modules/yargs-unparser Completed in 2ms
1138 timing idealTree:node_modules/flat Completed in 0ms
1139 timing idealTree:node_modules/is-plain-obj Completed in 0ms
1140 timing idealTree:node_modules/yocto-queue Completed in 0ms
1141 timing idealTree:node_modules/@babel/code-frame/node_modules/@babel/highlight Completed in 0ms
1142 silly placeDep node_modules/ansi-align is-fullwidth-code-point@2.0.0 OK for: string-width@2.1.1 want: ^2.0.0
1143 silly placeDep node_modules/ansi-align strip-ansi@4.0.0 OK for: string-width@2.1.1 want: ^4.0.0
1144 silly fetch manifest ansi-regex@^3.0.0
1145 timing idealTree:node_modules/ansi-align/node_modules/string-width Completed in 1ms
1146 timing idealTree:node_modules/ansi-align/node_modules/is-fullwidth-code-point Completed in 0ms
1147 silly placeDep node_modules/ansi-align ansi-regex@3.0.1 OK for: strip-ansi@4.0.0 want: ^3.0.0
1148 timing idealTree:node_modules/ansi-align/node_modules/strip-ansi Completed in 1ms
1149 timing idealTree:node_modules/ansi-align/node_modules/ansi-regex Completed in 0ms
1150 timing idealTree:node_modules/array-union/node_modules/array-uniq Completed in 0ms
1151 timing idealTree:node_modules/babel-runtime/node_modules/regenerator-runtime Completed in 0ms
1152 timing idealTree:node_modules/boxen/node_modules/camelcase Completed in 0ms
1153 silly placeDep node_modules/boxen ansi-styles@3.2.1 OK for: chalk@2.4.2 want: ^3.2.1
1154 silly placeDep node_modules/boxen escape-string-regexp@1.0.5 OK for: chalk@2.4.2 want: ^1.0.5
1155 silly placeDep node_modules/boxen supports-color@5.5.0 OK for: chalk@2.4.2 want: ^5.3.0
1156 silly fetch manifest color-convert@^1.9.0
1157 silly fetch manifest has-flag@^3.0.0
1158 timing idealTree:node_modules/boxen/node_modules/chalk Completed in 4ms
1159 silly placeDep node_modules/boxen color-convert@1.9.3 OK for: ansi-styles@3.2.1 want: ^1.9.0
1160 silly fetch manifest color-name@1.1.3
1161 timing idealTree:node_modules/boxen/node_modules/ansi-styles Completed in 2ms
1162 silly placeDep node_modules/boxen color-name@1.1.3 OK for: color-convert@1.9.3 want: 1.1.3
1163 timing idealTree:node_modules/boxen/node_modules/color-convert Completed in 0ms
1164 timing idealTree:node_modules/boxen/node_modules/color-name Completed in 0ms
1165 timing idealTree:node_modules/boxen/node_modules/escape-string-regexp Completed in 0ms
1166 silly placeDep node_modules/boxen is-fullwidth-code-point@2.0.0 OK for: string-width@2.1.1 want: ^2.0.0
1167 silly placeDep node_modules/boxen strip-ansi@4.0.0 OK for: string-width@2.1.1 want: ^4.0.0
1168 timing idealTree:node_modules/boxen/node_modules/string-width Completed in 1ms
1169 timing idealTree:node_modules/boxen/node_modules/is-fullwidth-code-point Completed in 0ms
1170 silly placeDep node_modules/boxen ansi-regex@3.0.1 OK for: strip-ansi@4.0.0 want: ^3.0.0
1171 timing idealTree:node_modules/boxen/node_modules/strip-ansi Completed in 1ms
1172 timing idealTree:node_modules/boxen/node_modules/ansi-regex Completed in 0ms
1173 silly placeDep node_modules/boxen has-flag@3.0.0 OK for: supports-color@5.5.0 want: ^3.0.0
1174 timing idealTree:node_modules/boxen/node_modules/supports-color Completed in 0ms
1175 timing idealTree:node_modules/boxen/node_modules/has-flag Completed in 0ms
1176 silly placeDep node_modules/callsite-record ansi-styles@2.2.1 OK for: chalk@1.1.3 want: ^2.2.1
1177 silly placeDep node_modules/callsite-record escape-string-regexp@1.0.5 OK for: chalk@1.1.3 want: ^1.0.2
1178 silly placeDep ROOT has-ansi@2.0.0 OK for: chalk@1.1.3 want: ^2.0.0
1179 silly placeDep node_modules/callsite-record supports-color@2.0.0 OK for: chalk@1.1.3 want: ^2.0.0
1180 timing idealTree:node_modules/callsite-record/node_modules/chalk Completed in 2ms
1181 timing idealTree:node_modules/has-ansi Completed in 0ms
1182 timing idealTree:node_modules/callsite-record/node_modules/ansi-styles Completed in 0ms
1183 timing idealTree:node_modules/callsite-record/node_modules/escape-string-regexp Completed in 0ms
1184 timing idealTree:node_modules/callsite-record/node_modules/supports-color Completed in 0ms
1185 timing idealTree:node_modules/chalk/node_modules/supports-color Completed in 0ms
1186 silly placeDep ROOT emoji-regex@8.0.0 OK for: string-width@4.2.3 want: ^8.0.0
1187 silly placeDep node_modules/cliui is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0
1188 timing idealTree:node_modules/cliui/node_modules/string-width Completed in 1ms
1189 timing idealTree:node_modules/emoji-regex Completed in 0ms
1190 timing idealTree:node_modules/cliui/node_modules/is-fullwidth-code-point Completed in 0ms
1191 silly placeDep node_modules/cliui ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1
1192 timing idealTree:node_modules/cliui/node_modules/strip-ansi Completed in 1ms
1193 timing idealTree:node_modules/cliui/node_modules/ansi-regex Completed in 0ms
1194 timing idealTree:node_modules/configstore/node_modules/make-dir Completed in 0ms
1195 timing idealTree:node_modules/cross-spawn-async/node_modules/which Completed in 0ms
1196 timing idealTree:node_modules/debug/node_modules/ms Completed in 0ms
1197 silly placeDep node_modules/depcheck argparse@1.0.10 OK for: js-yaml@3.14.1 want: ^1.0.7
1198 silly placeDep ROOT esprima@4.0.1 OK for: js-yaml@3.14.1 want: ^4.0.0
1199 silly fetch manifest sprintf-js@~1.0.2
1200 http fetch GET 200 https://registry.npmjs.org/sprintf-js 723ms (cache revalidated)
1201 timing idealTree:node_modules/depcheck/node_modules/js-yaml Completed in 726ms
1202 timing idealTree:node_modules/esprima Completed in 0ms
1203 silly placeDep ROOT sprintf-js@1.0.3 OK for: argparse@1.0.10 want: ~1.0.2
1204 timing idealTree:node_modules/depcheck/node_modules/argparse Completed in 2ms
1205 timing idealTree:node_modules/sprintf-js Completed in 0ms
1206 timing idealTree:node_modules/depcheck/node_modules/minimatch Completed in 0ms
1207 timing idealTree:node_modules/depcheck/node_modules/node-sass-tilde-importer Completed in 0ms
1208 silly placeDep node_modules/depcheck cliui@5.0.0 OK for: yargs@13.3.2 want: ^5.0.0
1209 silly placeDep node_modules/depcheck find-up@3.0.0 OK for: yargs@13.3.2 want: ^3.0.0
1210 silly placeDep ROOT require-main-filename@2.0.0 OK for: yargs@13.3.2 want: ^2.0.0
1211 silly placeDep ROOT set-blocking@2.0.0 OK for: yargs@13.3.2 want: ^2.0.0
1212 silly placeDep node_modules/depcheck string-width@3.1.0 OK for: yargs@13.3.2 want: ^3.0.0
1213 silly placeDep ROOT which-module@2.0.0 OK for: yargs@13.3.2 want: ^2.0.0
1214 silly placeDep node_modules/depcheck y18n@4.0.3 OK for: yargs@13.3.2 want: ^4.0.0
1215 silly placeDep node_modules/depcheck yargs-parser@13.1.2 OK for: yargs@13.3.2 want: ^13.1.2
1216 silly fetch manifest strip-ansi@^5.2.0
1217 silly fetch manifest wrap-ansi@^5.1.0
1218 silly fetch manifest locate-path@^3.0.0
1219 silly fetch manifest emoji-regex@^7.0.1
1220 silly fetch manifest strip-ansi@^5.1.0
1221 silly fetch manifest camelcase@^5.0.0
1222 timing idealTree:node_modules/depcheck/node_modules/yargs Completed in 17ms
1223 timing idealTree:node_modules/require-main-filename Completed in 0ms
1224 timing idealTree:node_modules/set-blocking Completed in 0ms
1225 timing idealTree:node_modules/which-module Completed in 0ms
1226 silly placeDep node_modules/depcheck strip-ansi@5.2.0 OK for: cliui@5.0.0 want: ^5.2.0
1227 silly placeDep node_modules/depcheck wrap-ansi@5.1.0 OK for: cliui@5.0.0 want: ^5.1.0
1228 silly fetch manifest ansi-regex@^4.1.0
1229 silly fetch manifest ansi-styles@^3.2.0
1230 timing idealTree:node_modules/depcheck/node_modules/cliui Completed in 2ms
1231 silly placeDep node_modules/depcheck locate-path@3.0.0 OK for: find-up@3.0.0 want: ^3.0.0
1232 silly fetch manifest p-locate@^3.0.0
1233 timing idealTree:node_modules/depcheck/node_modules/find-up Completed in 1ms
1234 silly placeDep node_modules/depcheck p-locate@3.0.0 OK for: locate-path@3.0.0 want: ^3.0.0
1235 silly placeDep node_modules/depcheck path-exists@3.0.0 OK for: locate-path@3.0.0 want: ^3.0.0
1236 silly fetch manifest p-limit@^2.0.0
1237 timing idealTree:node_modules/depcheck/node_modules/locate-path Completed in 0ms
1238 silly placeDep node_modules/depcheck p-limit@2.3.0 OK for: p-locate@3.0.0 want: ^2.0.0
1239 silly fetch manifest p-try@^2.0.0
1240 http fetch GET 200 https://registry.npmjs.org/p-try 45ms (cache revalidated)
1241 timing idealTree:node_modules/depcheck/node_modules/p-locate Completed in 47ms
1242 silly placeDep ROOT p-try@2.2.0 OK for: p-limit@2.3.0 want: ^2.0.0
1243 timing idealTree:node_modules/depcheck/node_modules/p-limit Completed in 1ms
1244 timing idealTree:node_modules/p-try Completed in 0ms
1245 timing idealTree:node_modules/depcheck/node_modules/path-exists Completed in 0ms
1246 silly placeDep node_modules/depcheck emoji-regex@7.0.3 OK for: string-width@3.1.0 want: ^7.0.1
1247 silly placeDep node_modules/depcheck is-fullwidth-code-point@2.0.0 OK for: string-width@3.1.0 want: ^2.0.0
1248 timing idealTree:node_modules/depcheck/node_modules/string-width Completed in 2ms
1249 timing idealTree:node_modules/depcheck/node_modules/emoji-regex Completed in 0ms
1250 timing idealTree:node_modules/depcheck/node_modules/is-fullwidth-code-point Completed in 0ms
1251 silly placeDep node_modules/depcheck ansi-regex@4.1.1 OK for: strip-ansi@5.2.0 want: ^4.1.0
1252 timing idealTree:node_modules/depcheck/node_modules/strip-ansi Completed in 1ms
1253 timing idealTree:node_modules/depcheck/node_modules/ansi-regex Completed in 0ms
1254 silly placeDep node_modules/depcheck ansi-styles@3.2.1 OK for: wrap-ansi@5.1.0 want: ^3.2.0
1255 timing idealTree:node_modules/depcheck/node_modules/wrap-ansi Completed in 1ms
1256 silly placeDep node_modules/depcheck color-convert@1.9.3 OK for: ansi-styles@3.2.1 want: ^1.9.0
1257 timing idealTree:node_modules/depcheck/node_modules/ansi-styles Completed in 0ms
1258 silly placeDep node_modules/depcheck color-name@1.1.3 OK for: color-convert@1.9.3 want: 1.1.3
1259 timing idealTree:node_modules/depcheck/node_modules/color-convert Completed in 1ms
1260 timing idealTree:node_modules/depcheck/node_modules/color-name Completed in 0ms
1261 timing idealTree:node_modules/depcheck/node_modules/y18n Completed in 0ms
1262 silly placeDep node_modules/depcheck camelcase@5.3.1 OK for: yargs-parser@13.1.2 want: ^5.0.0
1263 timing idealTree:node_modules/depcheck/node_modules/yargs-parser Completed in 1ms
1264 timing idealTree:node_modules/depcheck/node_modules/camelcase Completed in 0ms
1265 timing idealTree:node_modules/error-stack-parser/node_modules/stackframe Completed in 0ms
1266 timing idealTree:node_modules/execa/node_modules/object-assign Completed in 0ms
1267 timing idealTree:node_modules/figures/node_modules/escape-string-regexp Completed in 0ms
1268 timing idealTree:node_modules/figures/node_modules/object-assign Completed in 0ms
1269 timing idealTree:node_modules/glob/node_modules/minimatch Completed in 0ms
1270 timing idealTree:node_modules/global-prefix/node_modules/which Completed in 0ms
1271 silly placeDep node_modules/globby minimatch@3.1.2 OK for: glob@6.0.4 want: 2 || 3
1272 timing idealTree:node_modules/globby/node_modules/glob Completed in 1ms
1273 timing idealTree:node_modules/globby/node_modules/minimatch Completed in 0ms
1274 timing idealTree:node_modules/globby/node_modules/object-assign Completed in 0ms
1275 silly placeDep node_modules/highlight-es ansi-styles@3.2.1 OK for: chalk@2.4.2 want: ^3.2.1
1276 silly placeDep node_modules/highlight-es escape-string-regexp@1.0.5 OK for: chalk@2.4.2 want: ^1.0.5
1277 silly placeDep node_modules/highlight-es supports-color@5.5.0 OK for: chalk@2.4.2 want: ^5.3.0
1278 timing idealTree:node_modules/highlight-es/node_modules/chalk Completed in 1ms
1279 silly placeDep node_modules/highlight-es color-convert@1.9.3 OK for: ansi-styles@3.2.1 want: ^1.9.0
1280 timing idealTree:node_modules/highlight-es/node_modules/ansi-styles Completed in 1ms
1281 silly placeDep node_modules/highlight-es color-name@1.1.3 OK for: color-convert@1.9.3 want: 1.1.3

... ... ...
1372 silly placeDep node_modules/widest-line ansi-regex@3.0.1 OK for: strip-ansi@4.0.0 want: ^3.0.0
1373 timing idealTree:node_modules/widest-line/node_modules/strip-ansi Completed in 0ms
1374 timing idealTree:node_modules/widest-line/node_modules/ansi-regex Completed in 0ms
1375 silly placeDep node_modules/wrap-ansi is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0
1376 timing idealTree:node_modules/wrap-ansi/node_modules/string-width Completed in 1ms
1377 timing idealTree:node_modules/wrap-ansi/node_modules/is-fullwidth-code-point Completed in 0ms
1378 silly placeDep node_modules/wrap-ansi ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1
1379 timing idealTree:node_modules/wrap-ansi/node_modules/strip-ansi Completed in 1ms
1380 timing idealTree:node_modules/wrap-ansi/node_modules/ansi-regex Completed in 0ms
1381 timing idealTree:node_modules/yargs-unparser/node_modules/camelcase Completed in 0ms
1382 timing idealTree:node_modules/yargs-unparser/node_modules/decamelize Completed in 0ms
1383 silly placeDep node_modules/yargs is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0
1384 silly placeDep node_modules/yargs strip-ansi@6.0.1 OK for: string-width@4.2.3 want: ^6.0.1
1385 timing idealTree:node_modules/yargs/node_modules/string-width Completed in 1ms
1386 timing idealTree:node_modules/yargs/node_modules/is-fullwidth-code-point Completed in 0ms
1387 silly placeDep node_modules/yargs ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1
1388 timing idealTree:node_modules/yargs/node_modules/strip-ansi Completed in 1ms
1389 timing idealTree:node_modules/yargs/node_modules/ansi-regex Completed in 0ms
1390 timing idealTree:buildDeps Completed in 9115ms
1391 timing idealTree:fixDepFlags Completed in 4ms
1392 timing idealTree Completed in 9128ms
1393 timing command:install Completed in 9131ms
1394 verbose type system
1395 verbose stack FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/regenerator-runtime: ENOENT: no such file or directory, rename '/Users/MarcusHoffmannNeu/.npm/_cacache/tmp/c16d39bf' -> '/Users/MarcusHoffmannNeu/.npm/_cacache/content-v2/sha512/55/a6/ecf649ef0e52c75b05ee0c3f0d4beabfb4aba4f1d8d0f0a954556b3b5d5f9fafe480685e971c5641059f91bea4932f240b48fb7561384854cc777c626b9d'
1395 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:170:15
1395 verbose stack     at async Response.json (/usr/local/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:75:17)
1395 verbose stack     at async RegistryFetcher.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:94:25)
1395 verbose stack     at async RegistryFetcher.manifest (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:118:23)
1395 verbose stack     at async Promise.all (index 1)
1395 verbose stack     at async [buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1044:5)
1395 verbose stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:207:7)
1395 verbose stack     at async Promise.all (index 1)
1395 verbose stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:159:5)
1395 verbose stack     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:146:5)
1396 verbose cwd /Users/MarcusHoffmannNeu/.node-red
1397 verbose Darwin 22.3.0
1398 verbose node v18.14.2
1399 verbose npm  v9.5.0
1400 error code ENOENT
1401 error syscall rename
1402 error path /Users/MarcusHoffmannNeu/.npm/_cacache/tmp/c16d39bf
1403 error dest /Users/MarcusHoffmannNeu/.npm/_cacache/content-v2/sha512/55/a6/ecf649ef0e52c75b05ee0c3f0d4beabfb4aba4f1d8d0f0a954556b3b5d5f9fafe480685e971c5641059f91bea4932f240b48fb7561384854cc777c626b9d
1404 error errno ENOENT
1405 error enoent Invalid response body while trying to fetch https://registry.npmjs.org/regenerator-runtime: ENOENT: no such file or directory, rename '/Users/MarcusHoffmannNeu/.npm/_cacache/tmp/c16d39bf' -> '/Users/MarcusHoffmannNeu/.npm/_cacache/content-v2/sha512/55/a6/ecf649ef0e52c75b05ee0c3f0d4beabfb4aba4f1d8d0f0a954556b3b5d5f9fafe480685e971c5641059f91bea4932f240b48fb7561384854cc777c626b9d'
1406 error enoent This is related to npm not being able to find a file.
1406 error enoent
1407 verbose exit 1
1408 timing npm Completed in 9165ms
1409 verbose unfinished npm timer reify 1678341084965
1410 verbose unfinished npm timer reify:loadTrees 1678341084966
1411 verbose code 1
1412 error A complete log of this run can be found in:
1412 error     /Users/MarcusHoffmannNeu/.npm/_logs/2023-03-09T05_51_24_935Z-debug-0.log

> Blockquote

What happens if you run
curl https://registry.npmjs.org/regenerator-runtime
It should fetch the contents and show it on the terminal. You don't need to post it here, just whether it works. If it doesn't work then you have an internet access problem of some sort.

If it does work then try
npm cache clean --force
then
npm cache verify
to make sure all is well. Then try the install again.

Hello,thanks for your answer.

i tried the curl...
and i got 1 million characters in terminal.
I do not know wether it worked or not.

ame":"Ben Newman","email":"bn@cs.stanford.edu"},"description":"Runtime for Regenerator-compiled generator and async functions.","version":"0.13.10","main":"runtime.js","keywords":["regenerator","runtime","generator","async"],"sideEffects":true,"repository":{"type":"git","url":"git+https://github.com/facebook/regenerator.git#master"},"license":"MIT","gitHead":"53cf890f79bcd132c51ed1700b4368594f755a3b","bugs":{"url":"https://github.com/facebook/regenerator/issues"},"homepage":"https://github.com/facebook/regenerator/tree/master#readme","_id":"regenerator-runtime@0.13.10","_nodeVersion":"16.16.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==","shasum":"ed07b19616bcbec5da6274ebc75ae95634bfc2ee","tarball":"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz","fileCount":5,"unpackedSize":27683,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMILCiUeXFR6EddK4WbgNU0sSALtrbc297lo3tyeTilAIhAK4AlJ3+3ihxnsnEvuLXIuGnwYEXH/dc5VOZ3A0ynbhB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSD0IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGzhAAjKj/fYXelYOeV3d6/Aw2va0pngpT6TM9KRO1l4AetUieELdk\r\nla7HPNBLzecje1cNnv5BE1Flcp+nnnpJYnppWVIqbsMXqQY3Ijk8Xvd+5JRq\r\nCO+ga1HkFZJOzYD1pK592dY9nSrjqKUShb0r8Y7YAtwU45zZ2f6sqxkKoKa8\r\njD33KoR2mqPYjldjE6KTF+ZdJcBEKn9NdjevKhhaET9j86y/wJJ4u454TUSe\r\nd0hH+j9tUSpQrHc7r49QsIXam4XQcbEGJxuZCYFOJAioc8i7es0UKy7iMc25\r\nHLMx/p5Hu2Wk81gdu2ZCl54xwHLERum3+NXFjAqsEd1SkWgfrbpOiIJ5E8RS\r\niV3BVYjm2lkjUPJs7OfRdZoc3bHfsC2MWY6g8/zW2V/2DCvoqPZkrWFhS5R8\r\n9wEbIqoJkbj3EkVn0wzN2rjnlyrf/uyUj1LqRx3TROgVusonyqN0JbGUNF/V\r\nKbHaE30OZcSAPV89vGIE9qDQsbqtYsJBupD3XElen+jwaGfkjGi1XtSZNEQQ\r\nFTkHyWiSqJGLiC5+m3samvHwS5lYkkVQ7fxbSawEauGKq3tvmxFiYKxne6TB\r\nRyt1zFHDSihXin0zqGhPxaM51ZJMoi6rS7/razUSl9Nv1UKZs1ryVqNoFlI0\r\nFYfTA8MRSEVrG1RTBCvTepyzd1mQONyKNwA=\r\n=geE4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamn","email":"ben@benjamn.com"},"directories":{},"maintainers":[{"name":"benjamn","email":"ben@benjamn.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regenerator-runtime_0.13.10_1665678600082_0.8327173359082725"},"_hasShrinkwrap":false},"0.13.11":{"name":"regenerator-runtime","author":{"name":"Ben Newman","email":"bn@cs.stanford.edu"},"description":"Runtime for Regenerator-compiled generator and async functions.","version":"0.13.11","main":"runtime.js","keywords":["regenerator","runtime","generator","async"],"sideEffects":true,"repository":{"type":"git","url":"git+https://github.com/facebook/regenerator.git#main"},"license":"MIT","readme":"# regenerator-runtime\n\nStandalone runtime for\n[Regenerator](https://github.com/facebook/regenerator)-compiled generator\nand `async` functions.\n\nTo import the runtime as a module (recommended), either of the following\nimport styles will work:\n```js\n// CommonJS\nconst regeneratorRuntime = require(\"regenerator-runtime\");\n\n// ECMAScript 2015\nimport regeneratorRuntime from \"regenerator-runtime\";\n```\n\nTo ensure that `regeneratorRuntime` is defined globally, either of the\nfollowing styles will work:\n```js\n// CommonJS\nrequire(\"regenerator-runtime/runtime\");\n\n// ECMAScript 2015\nimport \"regenerator-runtime/runtime.js\";\n```\n\nTo get the absolute file system path of `runtime.js`, evaluate the\nfollowing expression:\n```js\nrequire(\"regenerator-runtime/path\").path\n```\n","readmeFilename":"README.md","gitHead":"e4b592a44ef0d3a366cc7ad6125c4d9c8f6cc597","bugs":{"url":"https://github.com/facebook/regenerator/issues"},"homepage":"https://github.com/facebook/regenerator/tree/main#readme","_id":"regenerator-runtime@0.13.11","_nodeVersion":"16.18.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==","shasum":"f6dca3e7ceec20590d07ada785636a90cdca17f9","tarball":"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz","fileCount":5,"unpackedSize":27759,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2+dvk

After that i tried the npm cache clean force

MarcusHmannsAir:~ MarcusHoffmannNeu$ npm cache clean --force
npm WARN using --force Recommended protections disabled.
npm ERR! code EACCES
npm ERR! syscall rmdir
npm ERR! path /Users/MarcusHoffmannNeu/.npm/_cacache/index-v5/06/5a
npm ERR! errno -13
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 503:20 "/Users/MarcusHoffmannNeu/.npm"

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/MarcusHoffmannNeu/.npm/_logs/2023-03-09T09_29_55_316Z-debug-0.log

After that i tried the npm cahe verify

MarcusHmannsAir:~ MarcusHoffmannNeu$ npm cache verify
npm ERR! code EACCES
npm ERR! syscall open
npm ERR! path /Users/MarcusHoffmannNeu/.npm/_cacache/index-v5/03/27/bd1b6b4b1d44278ef6a0ed627e790362a305b38303f1bc637ce40e2b4e79
npm ERR! errno -13
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 503:20 "/Users/MarcusHoffmannNeu/.npm"

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/MarcusHoffmannNeu/.npm/_logs/2023-03-09T09_30_24_787Z-debug-0.log

After that i tried the suggestet "sudo chown -R 503:20 "/Users/MarcusHoffmannNeu/.npm""
but no reaction in the terminal window.

After that i tried again to install the program within node red app, but got again the same error messages...

After you changed the ownership did you try the cache clean again? The clean couldn't run because of the problem.

Another way the root ownership might have arisen is if you used sudo with npm to install a node. Sudo should only be used for installing global nodes such as when installing node-red, and then you use -g to say that it is to be installed globally.

  1. What command did you use to install Node-RED?
  2. have you been able to install any other node?
  3. Open a terminal and stop/start NR and copy the output and paste it to a reply
  4. when you try installing anode, do you first change directories to the .nodered folder?

i solved the problem!
I hit "cmd+i" for the whole cacache Folder,
then i set the ownership of the documents within the folder again to my user,
and selected "do this for all items in sub-directories".
(where some system-owned files have been)
Then i restartet the cache clean force - it worked!
Than i typed again the cache verify - it worked!
Finally i restarted node-red and retried the installation - it worked!
:slight_smile:

thanks a lot!!!

1 Like

Hi
first, i installed node js
than i typed " sudo npm install -g --unsafe-perm node-red" in Terminal

this was from a manual i found in the web "how to install node-red on a mac"

Better to change the ownership of the whole .npm directory, just in case.

what also can be a reason:
some days before, i tried to install the "iobroker" on my macbook, but there was no effort at all!
(that is why i now try node-red to get the data from my solar power plant (fronius Symo gen 24)
Maybe this miss-try also was a part of the problem

ok, i will do.
thanks for the hint :slight_smile:

Also it you want to install a node via the command line open a terminal window. That should put you in your user folder. Then
cd .node-red
now you can do the install
npm install node-red-contrib-fronius-solar
and you should be good to go.

Remember you must be in the .node-red folder before installing a node

1 Like

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