Skip to content
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

Try running "npm install" in your functions directory before deploying #239

Closed
AmilKey opened this issue Oct 9, 2024 · 1 comment
Closed

Comments

@AmilKey
Copy link
Contributor

AmilKey commented Oct 9, 2024

When attempting to deploy Firebase, the following error occurs:

Try running "npm install" in your functions directory before deploying.

This happens because the necessary npm packages are not installed in the functions directory. To avoid this error and automate the process, we should update the deployment script to automatically install packages before deployment.

Proposed Solution: Add a step to install npm packages in the deployment script

@w9jds
Copy link
Owner

w9jds commented Jan 7, 2025

Not all projects use NPM, some use pnpm and if you are using emulators or using firebase for testing this isn't something the action should handle for you, that is something you would setup in your own workflow as it's not related to the firebase action.

@w9jds w9jds closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants