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

Node process crashes #25

Open
tracker1 opened this issue Jun 30, 2017 · 0 comments
Open

Node process crashes #25

tracker1 opened this issue Jun 30, 2017 · 0 comments

Comments

@tracker1
Copy link

Trying to upload the following file [1] cloud.tar.gz (autodeletes in 48 hrs)

For some reason the entire node process crashes... the file isn't particularly large, and I can't for the life of me figure out what the issue is.

Worst case scenario will take a different path.

import fs from 'mz/fs';
import aws from 'aws-sdk';
import s3s from 's3-streams';

const s3 = new aws.S3();

fs
    .createReadStream('path/to/file')
    .pipe(s3s.WriteStream(s3, { Bucket: 'S3_BUCKET', Key: 'path/to/file' }));

[1] https://expirebox.com/download/bd4b7be5a2501c1639919e24e0620eaa.html

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

1 participant