Reputation: 193
What I am trying to do is very simple and that is installing angular CLI, however I get the following issue
Failed to execute '/usr/local/Cellar/node/11.4.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/Cellar/node/11.4.0/lib/node_modules/@angular/cli/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/usr/local/Cellar/node/11.4.0/lib/node_modules/@angular/cli/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --napi_version=3 --node_abi_napi=napi' (1
I ran the following command sudo npm install -g @angular/cli
but I get the error shown in the Image
Upvotes: 1
Views: 61
Reputation: 222722
Seems to be an issue with node-gyp folder.
Delete your $HOME/.node-gyp
directory and try again.
Refer Github issue for more details.
Upvotes: 2