-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails when used as a module #464
Comments
cc @mbleigh |
@samtstern @mbleigh I'm still getting this error. any idea how to fix it? firebase --version node --version firebase-admin firebase-functions I am using Windows 10 64 Bit. |
@mitulgolakiya @samtstern @mbleigh Has anyone found a solution to this issue? I am also having the same problem and there is not a lot of solutions about this. I am on MacOS HighSierra firebase --version node --version firebase-admin firebase-functions google-cloud/storage |
@fabienthiombiano Actually, I was not able to figure out the problem. The main project was set up by a developer who was using Mac and I was on trying this thing to re-deploy with some changes from Windows. But when I tried it on a Mac, it worked. But since you are already on Mac, so not sure what can be a problem. Just uninstall firebase, delete node modules cache and try again. Or try to setup it on some fresh Mac. I used MacOS HighSierra only. |
If you are seeing this issue, please open a new issue with your steps to reproduce the issue and the appropriate logs. Thank you. |
Thanks @mitulgolakiya and @bkendall. As per your advice, below is the steps to reproduce. Just a basic image upload function and the error code from firebase version info index.js file in functions folder
error code firebase
Edit: Just opened a new issue ticket as indicated. Thanks |
Version info
Steps to reproduce
Create a functions index.js file that looks like this:
Then try to run
firebase deploy
Expected behavior
Function initializes
Actual behavior
The text was updated successfully, but these errors were encountered: