EACCES Error! Permission Denied!

i try to import a picture which is in my desktop
but it gets me Error: EACCES
i dont know whats wrong!

what account runs node-red?

It is likely the account node-red runs under does not have access to your desktop.

the account is same..

Could this be related to the new security permissions added to nodejs recently?

How did you install node red? Are you running in Docker?

How do you start node-red?

Not likely. That was for child processes started with .cmd or .bat on windows.

Edit: I have possibly assumed a different update - apologies if so

no!

sudo npm install -g --unsafe-perm node-red

not using terminal
there is Node-red icon , i use that

Use an exec node to run the command
ls -l /home/ervan/Desktop
feed that into a debug node and show us what you see.