"Data read, but end of buffer not reached"
See original GitHub issueMy packed file has reached 1.4gb and I now get this error immediately upon attempting to read it:
Uncaught Error: Data read, but end of buffer not reached
at checkedRead (/Users/beau/p/zed-run/node_modules/msgpackr/dist/node.cjs:130:10)
at unpack (/Users/beau/p/zed-run/node_modules/msgpackr/dist/node.cjs:77:10)
at exports.readPacked (/Users/beau/p/zed-run/utilities.js:223:32)
My readPacked
function is simply:
unpack(fs.readFileSync(path));
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Error Data read, but end of buffer not reached... bug or not
Hello,. I recently updated my project to the last version of Gatsby and plugin from Gatsby 4.5 to 4.6.1.
Read more >We reached end of buffer Error - Microsoft Power BI Community
Solved: Hello, I have data I was able to load via the Web API and it displayed fine. When I refreshed the report,...
Read more >Gatsby on Netlify build error There was an error in your ...
Gatsby on Netlify build error There was an error in your GraphQL query: Data read, but end of buffer not reached.
Read more >End-of-buffer checks in decompressors - The ryg blog
This post is about general techniques for handling end-of-buffer checks in code that processes an input stream a byte at a time, ...
Read more >get data from dataflow - Power Query | Microsoft Learn
Troubleshooting dataflow issues: Get data from a dataflow ... receive the error message "We reached the end of the buffer" or "DataFormat.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kriszyp 👋
We’re running into this same error with Gatsby now. It seems that the recent
1.5.3
release caused this.The output one gets is:
internal-data-bridge
is something from us so that’s why it is printing that.You can reproduce this by running
npm init gatsby -y issue-34
, let the installation run and then do twonpm run build
in a row. On the second run you’ll see this error. If you do anpm run clean
in between (it removes the LMDB store data) in between, it works.Let me know if you need any further information. Thanks a lot!
Works with 1.5.4 again. Thanks again!