Well basically i created another user, and i'm tring to open a node project, but i can't use "code ." (i think it's because vscode is installed in the other user, but idk) without having the following error:
~/amq-javascript-2.5.0/node_modules/rhea$ code .
2020/02/12 10:02:20.859002 cmd_run.go:884: WARNING: cannot create user data directory: cannot create "/home/amq-broker/snap/code/24": mkdir /home/amq-broker/snap: permission denied cannot create user data directory: /home/amq-broker/snap/code/24: Permission denied
I already tryed with sudo, and got this:
~/amq-javascript-2.5.0/node_modules/rhea$ sudo code .
You are trying to start vscode as a super user which is not recommended. If you really want to, you must specify an alternate user data directory using the --user-data-dir argument.
I'm kinda lost here...