-
Notifications
You must be signed in to change notification settings - Fork 371
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
AWS Elastic Beanstalk deploy failed #93
Comments
@DzmitryU Can you share the contents of |
@hiranya911 Sure
And npm-debug.log:
|
I don't think this is a problem in the Admin SDK. It's unclear why the Beanstalk environment looks for the sshpk binary within firebase-admin. It looks like others have run into similar issues: https://forums.aws.amazon.com/thread.jspa?messageID=787343 I'd recommend reaching out to AWS Beanstalk support forums for some guidance. |
Hi, I am using meteor server and i have same error;
what is interesting is that; the local server is running but the cloud server is failing and |
This might be related: npm/npm#9633 (comment) Unfortunately, we don't have any better explanation right now. But given that this only occurs in some environments, chances are the issue environment-specific. |
@YamanSehzade Hi! |
@DzmitryU @YamanSehzade |
I believe a lot of the gRPC issues are now resolved, or has known workarounds. Other issues are app or platform specific and need to be debugged independently. |
* Add Functions API * PR fixes * Refactor internal Functions implementation * Adding unit tests first pass * Complete unit tests, add integration tests * rename service account email helper * Add support for partial resource names * Update unit tests * Make url public for beta * PR fixes * Fix docstrings * remove validation for data payload * fix docs * minor fixes * fixed a capitalization creep
* Add Functions API * PR fixes * Refactor internal Functions implementation * Adding unit tests first pass * Complete unit tests, add integration tests * rename service account email helper * Add support for partial resource names * Update unit tests * Make url public for beta * PR fixes * Fix docstrings * remove validation for data payload * fix docs * minor fixes * fixed a capitalization creep
* Add Functions API * PR fixes * Refactor internal Functions implementation * Adding unit tests first pass * Complete unit tests, add integration tests * rename service account email helper * Add support for partial resource names * Update unit tests * Make url public for beta * PR fixes * Fix docstrings * remove validation for data payload * fix docs * minor fixes * fixed a capitalization creep
I use AWS Elastic Beanstalk for my application deployment.
Using of firebase-admin library causes deployment failures:
ERROR: Failed to run npm install. Snapshot logs for more details. ERROR: [Instance: i-068bd9d30a1d8df4b] Command failed on instance. Return code: 1 Output: (TRUNCATED)...pt/elasticbeanstalk/containerfiles/ebnode.py", line 180, in npm_install raise e subprocess.CalledProcessError: Command '['/opt/elasticbeanstalk/node-install/node-v6.10.0-linux-x64/bin/npm', '--production', 'rebuild']' returned non-zero exit status 254. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/50npm.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI. INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1]. ERROR: Unsuccessful command execution on instance id(s) 'i-068bd9d30a1d8df4b'. Aborting the operation. ERROR: Failed to deploy application.
The same problem is reproduced on t2.micro and t2.small.
Similar issue is described here, but I don't want to use EC2 with bigger CPU:
parse-community/parse-server#1276
Looks like you have some problems with memory leaks during dependency installation.
P.S. - no problem with deployment during using library from https://www.npmjs.com/package/fcm-node
The text was updated successfully, but these errors were encountered: