-
Notifications
You must be signed in to change notification settings - Fork 821
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
Error when build through cli - Code 137 #315
Comments
There could more information in the logs before this line:
Otherwise, if there is no other error/warning before that line, most likely, your machine is running out of memory. See these: To fix, either up your RAM to 2GB or more. Alternatively, if this is a frontend app, you can use something like this: Even if it's a backend app, you can use this technique (with some modifications). Use the same technique to install your dependencies and make the app locally. Then use the advance version of node: https://caprover.com/docs/captain-definition-file.html#advanced-version Except, you should remove this line from the captain-definition: |
Thank you Kasra, |
by the way, raising the ram to 1024 solved the problem! :) |
yes, it's in the sample that I included in the previous comment: https://caprover.com/docs/recipe-deploy-create-react-app.html |
thank you kasra! |
I gotit ! |
What is the problem?
At the end of the deployment through CLI it cames with this error:
If applicable, content of
captain-definition
file:the same as the site
Steps to reproduce the problem:
Using the CLI to deploy the app
Answers to the following questions where applicable:
Your OS and version?
Ubuntu 16.04
Docker 18
RAM?
1gb
The text was updated successfully, but these errors were encountered: