You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried setting "react-scripts --max_old_space_size=8192 build" and explicitly setting the node version with nvm use $VERSION_NODE_12. Neither of these worked.
Using an EC2 with more memory (t3.small) in the Cloud9 environment fixed the issue for me.
I'm using all the defaults for the amplify build. The amplify version in Cloud9 is:
In the amplify init step, I am getting a "JavaScript heap out of memory" error building the application.
unicornflix/documentation/Backend.md
Line 6 in 103a6fb
There are several references to this error in the Amplify project that point to different versions of nodeJS as the issue:
aws-amplify/amplify-cli#5757
aws-amplify/amplify-cli#3708
I tried setting
"react-scripts --max_old_space_size=8192 build"
and explicitly setting the node version withnvm use $VERSION_NODE_12
. Neither of these worked.Using an EC2 with more memory (t3.small) in the Cloud9 environment fixed the issue for me.
I'm using all the defaults for the amplify build. The amplify version in Cloud9 is:
The text was updated successfully, but these errors were encountered: