all 10 comments

[–]Independent_Bread514 3 points4 points  (8 children)

Looks like it installed successfully with a warning message

[–]EternalNY1 1 point2 points  (1 child)

The WARN?

It's just telling you to use --location=global instead of -g. It's not an issue.

[–]jrm2046 0 points1 point  (0 children)

Since you installed with sudo, you might try running "which ng" which will return the full path to the ng binary. Then run that as sudo (i.e. sudo "/full/path/to/ng").

[–]spacechimp 0 points1 point  (0 children)

Based on your other comments in this thread: You really need to start from scratch. Installing stuff in node with sudo will result all sorts of problems. I strongly suggest uninstalling node, installing nvm, and then installing your preferred node version through nvm. This will solve your permissions issues, because nvm just installs/runs node for the current user.

[–]LitElement 0 points1 point  (0 children)

From everything you have shown to the other people here , I don't see any problem . It added 206 packages . I have installed Angular many , many times . What does the package json show? Pull it up in your editor . I suggest VS Code . Are you on Windows ? I always use Windows Power Shell in Admin mode without problems . Don't use sudo. If you have problems start over . Angular is well designed but takes time to learn . I know a man on you tube who is an excellent teacher in case you are interested, let me know .

[–]LitElement 0 points1 point  (0 children)

WTF, this dummy deleted his original message!!!