MAC npm error solution

PHOTO EMBED

Wed Aug 10 2022 06:51:16 GMT+0000 (Coordinated Universal Time)

Saved by @mehran1801

npm config get prefix

Then run this :

sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}

Now run the installation commands
content_copyCOPY

https://stackoverflow.com/questions/51967335/npm-install-permission-denied-macos