npm install -g firebase-tools npm ERR! asyncWrite is not a function npm ERR! pna.nextTick is not a function
npm ERR! A complete log of this run can be found in: npm ERR!
Just ran into this error myself when trying to install express via npm. My simple solution was to downgrade node to the stable release. If you have "n", the node version manager, it can be done so with the command:
n stable
Hopefully this helps! I highly recommend "n" if you haven't used it before. It makes life easier :)