0
I’m having trouble accessing the files generated by ng new
. The problem already starts that I can’t execute the command without the sudo
in front.
After all Angular folders are generated, the folder is locked for my user, gets a lock, and I am the only user of the machine.
When opening the project folder in Vscode and trying to save something always appears a pop-up asking you to try as root
(as an attachment).
I’ve tried everything chmod
that I saw on the Linux forums, I tried to change my user’s permission in the file passwd
but nothing happens.
I don’t know if I did something wrong during the installation or if I changed something during the actual use.
In case anyone who’s ever had this problem and can help me, I’m very grateful.
Note: If you think that here is not the right place to ask this question, I delete and go to the forums themselves.
Version of my Ubuntu: 18.04.2 LTS.
Edit 1: I tried to also run Vscode as root, but then it comes without all my extensions.
And if you click on
[retry as sudo]
works?– Leandro Angelo
Yes, right after you ask for my password and go quietly. But think about the work that comes with you typing fast and you have to save, then click on the box, put the password and when you see, forgot a semicolon in the CSS. Then you have to do it all over again just for one character... it doesn’t make sense.
– Gabriel Gambarra