icon Oren Digital

Seng Yi

A Web Technology & Operations

Creating blog, vblog and web experiments

Solved: Error: EACCES: permission denied

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

Share the article with your friends

facebook icon twitter icon linkedin icon