Closed MatsA closed 1 year ago
Nice application, but got error at instal.
Solved with => sudo chown -R 1000:1000 "/home/pi/.npm" but maybe there is a fix so this doesn't appear ? /Mats
2023-08-05T07:37:33.843Z Install : node-red-contrib-nordpool-api-plus 4.4.0
2023-08-05T07:37:34.016Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-nordpool-api-plus@4.4.0 2023-08-05T07:37:40.264Z [err] npm 2023-08-05T07:37:40.269Z [err] 2023-08-05T07:37:40.270Z [err] WARN 2023-08-05T07:37:40.270Z [err] 2023-08-05T07:37:40.271Z [err] config 2023-08-05T07:37:40.273Z [err] production Use --omit=dev instead. 2023-08-05T07:37:51.832Z [err] npm 2023-08-05T07:37:51.833Z [err] 2023-08-05T07:37:51.834Z [err] ERR! 2023-08-05T07:37:51.836Z [err] code 2023-08-05T07:37:51.837Z [err] EACCES 2023-08-05T07:37:51.838Z [err] npm 2023-08-05T07:37:51.838Z [err] ERR! syscall link 2023-08-05T07:37:51.840Z [err] npm 2023-08-05T07:37:51.841Z [err] ERR! path /home/pi/.npm/_cacache/tmp/80fea041 2023-08-05T07:37:51.841Z [err] npm ERR! 2023-08-05T07:37:51.842Z [err] dest /home/pi/.npm/_cacache/content-v2/sha512/e1/b5/420c7318336ba732c2f505fe032d97ff64dd4b0eadb21552777ff66f290072b2b3d72557efd36cce439ce464fb567782a4d234c625a23256ad687ab876fd 2023-08-05T07:37:51.845Z [err] npm 2023-08-05T07:37:51.846Z [err] ERR! errno -13 2023-08-05T07:37:51.860Z [err] npm 2023-08-05T07:37:51.860Z [err] ERR! 2023-08-05T07:37:51.860Z [err] npm ERR! Your cache folder contains root-owned files, due to a bug in 2023-08-05T07:37:51.860Z [err] npm ERR! 2023-08-05T07:37:51.861Z [err] previous versions of npm which has since been addressed. 2023-08-05T07:37:51.861Z [err] npm 2023-08-05T07:37:51.862Z [err] 2023-08-05T07:37:51.862Z [err] ERR! 2023-08-05T07:37:51.862Z [err] npm 2023-08-05T07:37:51.863Z [err] ERR! To permanently fix this problem, please run: 2023-08-05T07:37:51.863Z [err] npm ERR! sudo chown -R 1000:1000 "/home/pi/.npm" 2023-08-05T07:37:51.878Z [err] 2023-08-05T07:37:51.879Z [err] npm 2023-08-05T07:37:51.880Z [err] ERR! A complete log of this run can be found in: 2023-08-05T07:37:51.880Z [err] npm ERR! /home/pi/.npm/_logs/2023-08-05T07_37_40_027Z-debug-0.log 2023-08-05T07:37:51.923Z rc=243 Nordpool_error.txt
--omit=dev
Reading your logs I see that this is a common npm cache error not related to this node.
OK, thanks for the explanation and concern.
Nice application, but got error at instal.
Solved with => sudo chown -R 1000:1000 "/home/pi/.npm" but maybe there is a fix so this doesn't appear ? /Mats
2023-08-05T07:37:33.843Z Install : node-red-contrib-nordpool-api-plus 4.4.0
2023-08-05T07:37:34.016Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-nordpool-api-plus@4.4.0 2023-08-05T07:37:40.264Z [err] npm 2023-08-05T07:37:40.269Z [err]
2023-08-05T07:37:40.270Z [err] WARN 2023-08-05T07:37:40.270Z [err]
2023-08-05T07:37:40.271Z [err] config 2023-08-05T07:37:40.273Z [err] production Use
--omit=dev
instead. 2023-08-05T07:37:51.832Z [err] npm 2023-08-05T07:37:51.833Z [err]2023-08-05T07:37:51.834Z [err] ERR! 2023-08-05T07:37:51.836Z [err] code 2023-08-05T07:37:51.837Z [err] EACCES 2023-08-05T07:37:51.838Z [err] npm 2023-08-05T07:37:51.838Z [err] ERR! syscall link 2023-08-05T07:37:51.840Z [err] npm 2023-08-05T07:37:51.841Z [err] ERR! path /home/pi/.npm/_cacache/tmp/80fea041 2023-08-05T07:37:51.841Z [err] npm ERR! 2023-08-05T07:37:51.842Z [err] dest /home/pi/.npm/_cacache/content-v2/sha512/e1/b5/420c7318336ba732c2f505fe032d97ff64dd4b0eadb21552777ff66f290072b2b3d72557efd36cce439ce464fb567782a4d234c625a23256ad687ab876fd 2023-08-05T07:37:51.845Z [err] npm 2023-08-05T07:37:51.846Z [err] ERR! errno -13 2023-08-05T07:37:51.860Z [err] npm 2023-08-05T07:37:51.860Z [err] ERR! 2023-08-05T07:37:51.860Z [err] npm ERR! Your cache folder contains root-owned files, due to a bug in 2023-08-05T07:37:51.860Z [err] npm ERR! 2023-08-05T07:37:51.861Z [err] previous versions of npm which has since been addressed. 2023-08-05T07:37:51.861Z [err] npm 2023-08-05T07:37:51.862Z [err]
2023-08-05T07:37:51.862Z [err] ERR! 2023-08-05T07:37:51.862Z [err] npm 2023-08-05T07:37:51.863Z [err] ERR! To permanently fix this problem, please run: 2023-08-05T07:37:51.863Z [err] npm ERR! sudo chown -R 1000:1000 "/home/pi/.npm" 2023-08-05T07:37:51.878Z [err] 2023-08-05T07:37:51.879Z [err] npm 2023-08-05T07:37:51.880Z [err] ERR! A complete log of this run can be found in: 2023-08-05T07:37:51.880Z [err] npm ERR! /home/pi/.npm/_logs/2023-08-05T07_37_40_027Z-debug-0.log 2023-08-05T07:37:51.923Z rc=243 Nordpool_error.txt