Not able to update Node-red Dashboard 2.0 to last version 1.21.0

I am running 3.52 on a Cerbo GX and utilize extensively Dashboard 2.0

While trying to update to @flowfuse /node-red-dashboard to 1.21.0 from 1.19.1 I get the the following error

Here is the Error log: - Any adwise?

2024-12-29T21:55:43.759Z Install : @flowfuse/node-red-dashboard 1.21.0

2024-12-29T21:55:44.025Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @flowfuse/node-red-dashboard@1.21.0
2024-12-29T21:55:47.730Z [err] npm warn config production Use --omit=dev instead.
2024-12-29T21:56:20.856Z [err] npm error code EACCES
2024-12-29T21:56:20.856Z [err] npm error syscall unlink
2024-12-29T21:56:20.856Z [err] npm error path /data/home/nodered/.node-red/node_modules/victron-vrm-api/examples/dess-fixed-prices-settings.json
2024-12-29T21:56:20.856Z [err] npm error errno -13
2024-12-29T21:56:20.856Z [err] npm error [Error: EACCES: permission denied, unlink ‘/data/home/nodered/.node-red/node_modules/victron-vrm-api/examples/dess-fixed-prices-settings.json’] {
2024-12-29T21:56:20.856Z [err] npm error errno: -13,
2024-12-29T21:56:20.856Z [err] npm error code: ‘EACCES’,
2024-12-29T21:56:20.856Z [err] npm error syscall: ‘unlink’,
2024-12-29T21:56:20.856Z [err] npm error path: ‘/data/home/nodered/.node-red/node_modules/victron-vrm-api/examples/dess-fixed-prices-settings.json’
2024-12-29T21:56:20.856Z [err] npm error }
2024-12-29T21:56:20.856Z [err] npm error
2024-12-29T21:56:20.856Z [err] npm error The operation was rejected by your operating system.
2024-12-29T21:56:20.856Z [err] npm error It is likely you do not have the permissions to access this file as the current user
2024-12-29T21:56:20.856Z [err] npm error
2024-12-29T21:56:20.856Z [err] npm error If you believe this might be a permissions issue, please double-check the
2024-12-29T21:56:20.856Z [err] npm error permissions of the file and its containing directories, or try running
2024-12-29T21:56:20.856Z [err] npm error the command again as root/Administrator.
2024-12-29T21:56:20.856Z [err]
2024-12-29T21:56:20.856Z [err] npm error A complete log of this run can be found in: /data/home/nodered/.npm/_logs/2024-12-29T21_55_46_172Z-debug-0.log
2024-12-29T21:56:20.868Z rc=243

As they did a lot of changes around securing the Cerbo over the last several releases, it is not worth trying to bump up your Cerbo version to see if that fixes your permission issue within Node-Red?

When this was posted 10 months ago, that was probably the latest version. Since dash 2 is now on 1.29 this topic can probably be closed as its unlikely to still be relevant.

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