I need several node-red server for a theatrical project.
I follow the
"node-red -p 1881 -u c:/nr1881" way.
All is working perfectly but not for the picture with ui-media node.
It works perfectly with the standard instance (1880 inside /Home/App-Data)
But with another instance, when I try to load a picture, there is a brocken icon and node-red crashes.
I tried all the available configuration, install it in home directory, intall it and run it with administrative privilege, install it on ssd disk, change the path with "httpStatic",
The returned error:
25 Feb 21:10:11 - [error] TypeError: path must be absolute or specify root to res.sendFile at ServerResponse.sendFile (C:\Users\Association Aladin\AppData\Roaming\npm\node_modules\node-red\node_modules\express\lib\response.js:441:11) at E:\nr1881\node_modules\node-red-contrib-ui-media\ui_media.js:288:17 at FSReqCallback.oncomplete (node:fs:192:23)
Its a collective project and I have to go further. If someone have the solution, thank in advance,