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

amplify init - RangeError: Array buffer allocation failed #342

Open
Alexisb710 opened this issue Apr 13, 2023 · 1 comment
Open

amplify init - RangeError: Array buffer allocation failed #342

Alexisb710 opened this issue Apr 13, 2023 · 1 comment

Comments

@Alexisb710
Copy link

~/environment/wild-rydes (master) $ amplify init
Downloading release from https://package.cli.amplify.aws/11.0.3/amplify-pkg-linux-x64.tgz
node:internal/buffer:959
    super(bufferOrLength, byteOffset, length);
    ^

RangeError: Array buffer allocation failed
    at new ArrayBuffer (<anonymous>)
    at new Uint8Array (<anonymous>)
    at new FastBuffer (node:internal/buffer:959:5)
    at createUnsafeBuffer (node:internal/buffer:1062:12)
    at allocate (node:buffer:415:10)
    at Function.allocUnsafe (node:buffer:380:10)
    at Function.concat (node:buffer:558:25)
    at Extract.<anonymous> (/home/ec2-user/.nvm/versions/node/v16.20.0/lib/node_modules/@aws-amplify/cli/lib/binary.js:127:37)
    at Extract.emit (node:events:525:35)
    at finishMaybe (/home/ec2-user/.nvm/versions/node/v16.20.0/lib/node_modules/@aws-amplify/cli/node_modules/readable-stream/lib/_stream_writable.js:579:14)
@tettehnarh
Copy link

Changing my ec2 instance type from t2.micro to t2.small removed this error

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