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

Bug: followProgress throw an error on exporting images #147

Open
roddc opened this issue Sep 1, 2022 · 0 comments
Open

Bug: followProgress throw an error on exporting images #147

roddc opened this issue Sep 1, 2022 · 0 comments

Comments

@roddc
Copy link

roddc commented Sep 1, 2022

I'm using followProgress to write the data got from '/images/get?' to a tar, but it will throw SyntaxError: Unexpected number in JSON at position 1 when streaming the data.
The error happens on processLine (/node_modules/docker-modem/lib/modem.js:443:24)
Now I will use the stream.pipe instead.

@roddc roddc changed the title followProgress throw an error on exporting images Bug: followProgress throw an error on exporting images Sep 1, 2022
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