trivikr / aws-sdk-js-s3-exit-code-0

Attempts to reproduce S3 PutObject returning with exiting with code 0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-sdk-js-s3-exit-code-0

Attempts to reproduce S3 PutObject returning with exiting with code 0

Prerequisites

  • Install Node.js by following these steps:
    1. Install nvm.
    2. Use node v18.x.x by running nvm use or nvm use 18 in a terminal window.
    3. Verify that node is installed by running node -v in a terminal window and confirm that it shows Node.js >=18, such as v18.13.0).
    4. Enable corepack by running corepack enable in a terminal window.
  • Install dependencies by running yarn.
  • Popuate .env file with your AWS credentials, config and bucket name. You can refer .env.example for the format.

Setup

  1. Run yarn start:sdk It will exit after some iteration (I've notice the slower the internet speed the sooner it will crash)
  2. Run yarn start:native It will never exit.

About

Attempts to reproduce S3 PutObject returning with exiting with code 0

License:MIT License


Languages

Language:TypeScript 99.1%Language:Shell 0.9%