JamesS
JamesS

Reputation: 21

Unhandled rejection Error: EACCES with Ionic Start

I am trying to build an Ionic project. I get the following error when trying to run ionic start in the terminal.

This is the error that I am getting when trying to run:

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/jamess/.npm/_cacache/index-v5/41/25'n denied, mkdir '/Users/james/.npm/_cacache/index-v5/55/43'

Upvotes: 1

Views: 1159

Answers (2)

mohit mathur
mohit mathur

Reputation: 1094

Provide ownership to npm as

sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config

Upvotes: 6

Toby Okeke
Toby Okeke

Reputation: 654

Run command with Sudo or change permission for that directory

Upvotes: 0

Related Questions