I’m trying to add deployment to Firebase and needs ‘firebase-tools’ for this purpose.
However, when I try to install it globally:
npm install -g firebase-tools
Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
What is the recommended workaround? And shouldn’t this be possible?