i installed it like this!
sudo apt install snap snapd
sudo snap install node-red
sudo apt-get autoremove
And I launch it simply by entering the address in the browser http://192.168.18.101:1880
I don't know about using the snap. The way most (I believe) do it on Ubuntu is to use the pi/ubuntu install script. Whether anyone here will be able to help with a snap install I don't know, but if you were to remove that and run the script instead then there will definitely be help available. Though I don't think normal users have the permissions to create files in /opt so that might be the problem you are encountering.
Ok, now I installed Node-Red by the script! There were no errors during installation! I trying to repeat the command again
code:https://pastebin.com/yXC763MK
and get a slightly different error. failed to create file: Error: EACCES: permission denied, mkdir '/opt/zigbee2mqtt'
What to do now? Can someone help me?