Error: End of data reached (data length = 0, asked index = 4) when calling fromFIle
See original GitHub issueI have a node script that I’m using to grab symbols from a downloaded sketch file.
const sketchFileData = await Sketch.fromFile(sketchFile);
Everytime I run this code I get the same error Error: End of data reached (data length = 0, asked index = 4). Corrupted zip ?
The file is there and I can open it but I can’t seem to use this this function to query the data in it.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
ERR Error: End of data reached (data length = 0, asked index ...
I believe you would get this error after you stop your execution in between, i.e when the file is getting updated and this...
Read more >[Solved]-ERR Error: End of data reached (data length = 0 ...
Coding example for the question ERR Error: End of data reached (data length = 0, asked index = 4). Corrupted zip?-node.js.
Read more >IBM Informix Messages and Corrections
The ISAM processor has been asked to delete the primary key index. For C-ISAM programs, the isdelindex call cannot delete the primary key....
Read more >Import or link to data in an Excel workbook - Microsoft Support
When you import data, Access creates a copy of the data in a new or existing table without altering the source Excel worksheet....
Read more >Errors | Basics | kdb+ and q documentation
Errors signalled by the interpreter, and what triggers them. ... Incomplete transaction at end of file, get good (count;length) with ... Not a...
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 Free
Top 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
Opps, sorry I forgot I open this ticket. I was able to resolve it. It turned out to be an issue with another conflicting library. I will close this.
@dbanksdesign no. Thank you. Well, it would be nice if you check this one, please. 🙂