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 Answer 1

1

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

npm audit fix
Sign up to request clarification or add additional context in comments.

1 Comment

I'm buying you a beer, found this after hours of headache - thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.