A while back I installed node-red-contrib-freeboard through the palette manager. Then I uninstalled it also through palette manager after realising the node I wanted wasn't it.
Now I am trying to install it again, but it keeps failing. I can download and install other node packages, but just not this one.
Help?
Debug log showed that the node itself was downloaded and the tree built with no problems, but something went funky near the end.
1044 silly saveTree `-- node-red-node-serialport@0.8.1
1045 verbose stack Error: node-red-contrib-freeboard@0.0.7 postinstall: `node rewritefiles.js`
1045 verbose stack Exit status 1
1045 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
1045 verbose stack at EventEmitter.emit (events.js:189:13)
1045 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
1045 verbose stack at ChildProcess.emit (events.js:189:13)
1045 verbose stack at maybeClose (internal/child_process.js:970:16)
1045 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
1046 verbose pkgid node-red-contrib-freeboard@0.0.7
1047 verbose cwd C:\Users\AAAA\.node-red
1048 verbose Windows_NT 10.0.17134
1049 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--no-audit" "--no-update-notifier" "--save" "--save-prefix=\"~\"" "--production" "node-red-contrib-freeboard@0.0.7"
1050 verbose node v10.15.3
1051 verbose npm v6.4.1
1052 error code ELIFECYCLE
1053 error errno 1
1054 error node-red-contrib-freeboard@0.0.7 postinstall: `node rewritefiles.js`
1054 error Exit status 1
1055 error Failed at the node-red-contrib-freeboard@0.0.7 postinstall script.
1055 error This is probably not a problem with npm. There is likely additional logging output above.
1056 verbose exit [ 1, true ]
the CL(powershell) showed showing different:
24 Jul 11:28:32 - [info] Installing module: node-red-contrib-freeboard, version: 0.0.7
24 Jul 11:29:24 - [warn] Installation of module node-red-contrib-freeboard failed:
24 Jul 11:29:24 - [warn] ------------------------------------------
24 Jul 11:29:24 - [warn] events.js:174
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open 'C:\Users\AAAA\.node-red\node_modules\node-red-contrib-freeboard\node_modules\freeboard\plugins\thirdparty\jquery.keyframes.min.js'
Emitted 'error' event at:
at WriteStream.onerror (_stream_readable.js:713:12)
at WriteStream.emit (events.js:189:13)
at lazyFs.open (internal/fs/streams.js:272:12)
at FSReqWrap.args [as oncomplete] (fs.js:140:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-red-contrib-freeboard@0.0.7 postinstall: `node rewritefiles.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-red-contrib-freeboard@0.0.7 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AAAA\AppData\Roaming\npm-cache\_logs\2019-07-24T01_29_23_911Z-debug.log
24 Jul 11:29:24 - [warn] ------------------------------------------