Solved: Error: EACCES: permission denied

Error: EACCES: permission denied featured

EACCES: permission denied

If you encounter “Error: EACCES: permission denied” while installing Typescript or any other program, it is due to permission problems.

npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’

Error EACCES permission denied 1

In short, that means you do not have permission to install.

How to solve this problem

The solution is exactly quite simple, you just have to type it this way “sudo npm install -g typescript” and it will work.

Error EACCES permission denied


facebook icon twitter icon linkedin icon what app icon