There is a bug in the latest version of
firebase-tools, you can try using a slightly older version.
First, remove the installed version of
sudo npm uninstall -g firebase-tools
npm i [email protected]
npm install -g [email protected]
To confirm, type '' node in terminal and try to import the package using
require, you should have a similar output as below