Closed ykoehler closed 8 years ago
There is actually such alert (although it is more geared towards Mac OS X users though) on page 8!
All in all, the use of sudo
is strongly discouraged addressing EACCESS
issues upon installing NPM packages globally. You should fix your NPM permissions instead, which is something I strongly advice you to do in this case. Please refer to the following resource at NPM's site to fix your local permissions then: How to fix npm permissions.
Thanks anyways for sharing your concerns! :)
When using npm install -g typescript on linux it require privileges access. On linux one may have to do "sudo npm install -g typescript". It was obvious for me but some people may get confused.
It may be helpful to add a note there to talk about this potential issue.