0

I followed the instructions on the Firebase Website but I do the npm install, I login and then I do firebase serve and receive the following error.

Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: node-v57-darwin-x64-unknown Found: [node-v64-darwin-x64-unknown] This problem can often be fixed by running "npm rebuild" on the current system

I have tried suggestions such as running npm rebuild, and deleting the node_modules as suggested here however the problem still persists. Any Ideas of what can be done to fix this. I've been using firebase for a while and only recently have I been encountering problems like this thank you for all of your help.

1 Answers1

1

open a terminal / command prompt / CLI from your functions folder and issue the following command:

npm audit fix
Ronnie Royston
  • 16,778
  • 6
  • 77
  • 91