Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

amplify init - RangeError: Array buffer allocation failed #342

@alexis-bustos

Description

@alexis-bustos
~/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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions