Hi, I'm not able to install/update any node any more!! I even copied back the original settings.js in order to avoid any modification I was trying on it. From manage palette as well as from command line, I always get this error:
Raspberry pi3+ with debian buster
Node-RED version: v1.2.9
Node.js version: v12.21.0
Linux 5.10.17-v7+ arm LE
I have tryed with several nodes but it's always the same (updating the existing nodes as well as installing new ones)
Failed to update node-red-contrib-cron-plus
Install failed
Check the log for more information
And this is the log.
2021-04-22T15:16:28.487Z Install : node-red-contrib-cron-plus 1.4.3
2021-04-22T15:16:28.756Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-cron-plus@1.4.3
2021-04-22T15:16:54.544Z [err] npm
2021-04-22T15:16:54.547Z [err]
2021-04-22T15:16:54.549Z [err] ERR!
2021-04-22T15:16:54.550Z [err] Maximum call stack size exceeded
2021-04-22T15:16:54.605Z [err]
2021-04-22T15:16:54.606Z [err] npm ERR! A complete log of this run can be found in:
2021-04-22T15:16:54.606Z [err] npm ERR! /home/pi/.npm/_logs/2021-04-22T15_16_54_554Z-debug.log
2021-04-22T15:16:54.653Z rc=1
And this is /home/pi/.npm/_logs/2021-04-22T15_16_54_554Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'install',
1 verbose cli '--no-audit',
1 verbose cli '--no-update-notifier',
1 verbose cli '--no-fund',
1 verbose cli '--save',
1 verbose cli '--save-prefix=~',
1 verbose cli '--production',
1 verbose cli 'node-red-contrib-cron-plus@1.4.3'
1 verbose cli ]
2 info using npm@6.14.11
3 info using node@v12.21.0
4 verbose npm-session 83b3762bc883aae8
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://registry.npmjs.org/node-red-contrib-cron-plus 4689ms (from cache)
8 silly pacote version manifest for node-red-contrib-cron-plus@1.4.3 fetched in 4855ms
9 verbose stack RangeError: Maximum call stack size exceeded
9 verbose stack at /usr/lib/node_modules/npm/node_modules/aproba/index.js:39:16
9 verbose stack at Array.forEach ()
9 verbose stack at validate (/usr/lib/node_modules/npm/node_modules/aproba/index.js:34:11)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:37:3)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
9 verbose stack at flatNameFromTree (/usr/lib/node_modules/npm/lib/install/flatten-tree.js:39:14)
10 verbose cwd /home/pi/.node-red
11 verbose Linux 5.10.17-v7+
12 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--no-audit" "--no-update-notifier" "--no-fund" "--save" "--save-prefix=~" "--production" "node-red-co$
13 verbose node v12.21.0
14 verbose npm v6.14.11
15 error Maximum call stack size exceeded
16 verbose exit [ 1, true ]