question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Packager] Offset is out of bounds

See original GitHub issue

Hey guys,

Ever since I upgraded to 0.4.2, I keep getting this error from time to time in the middle of development:

 ERROR  Offset is out of bounds
Error: Offset is out of bounds
    at Object.fs.read (evalmachine.<anonymous>:462:11)
    at Object.fs.read (/Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/graceful-fs/polyfills.js:237:15)
    at /Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/image-size/lib/index.js:46:8
    at OpenReq.Req.done (/Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/graceful-fs/graceful-fs.js:141:5)
    at OpenReq.done (/Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/graceful-fs/graceful-fs.js:61:22)
    at Object.oncomplete (evalmachine.<anonymous>:107:15)

Has any ran into this before? Not a big issue but it sucks to have to keep restarting the packager.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
weremaxcommented, Aug 11, 2016

I had this error this morning. Working thru the issue and posting this for anyone else that may get this: in my case this was an image that was empty the file existed and was named but had no content for the system to read. Once the image was fixed reran after closing the process window and everything back to normal.

0reactions
christopherdrocommented, Jun 30, 2015

👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Offset and length were out of bounds for the array" error when ...
'Offset and length were out of bounds for the array or count is greater than the number of elements from index to the...
Read more >
Offset is outside the bounds of the DataView - Bugs - Babylon.js
Hi, So I've been trying to load animations with SceneLoader.ImportMeshAsync() or SceneLoader.AppendAsync() but with no success.
Read more >
Picking strategy from conveyor and offset travel empty logic
I've noticed the operators are not picking the packages from that queue even when they are ideal. ... array index out of bounds...
Read more >
Time series / date functionality — pandas 1.5.2 documentation
Date offsets: A relative time duration that respects calendar arithmetic. Similar to dateutil.relativedelta.relativedelta from the dateutil package.
Read more >
Inconsistent ValueError with timezone offset out of bounds
This is simply the bounds of time zone offsets in Python - as noted in the error message, offsets are bounded to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found