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 TimeoutError

See original GitHub issue

Hello there!

I’ve been using rn-globabalize for a while, and it worked fine, but suddenly I can’t start my app, and the react native packager is throwing this error:

Error: TimeoutError: transforming /Users/michael/dev/finances_pro/node_modules/react-native-globalize/lib/cldr.json took longer than 301 seconds.
You can adjust timeout via the 'transformTimeoutInterval' option
    at index.js:101:30
    at tryCallOne (/Users/michael/dev/finances_pro/node_modules/promise/lib/core.js:37:12)
    at /Users/michael/dev/finances_pro/node_modules/promise/lib/core.js:123:15
    at flush (/Users/michael/dev/finances_pro/node_modules/asap/raw.js:50:29)
    at _combinedTickCallback (node.js:376:9)
    at process._tickCallback (node.js:407:11)

I’ve changed nothing about the package, tried to update it but no lucky. When I removed all references to it in my code, the package runs fine.

For reference, I’m using React Native 0.25.1

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
joshswancommented, Jun 29, 2016

Easiest way is to just fork this repo and tweak gulpfile.js to suit your needs. There’s an array of languages and currencies near the top that control what gets included in the output. Then just run gulp cldr and the resulting file will be placed in src/cldr.json. You can just copy that to your project at that point.

Seems like the packager has an issue with large files. Will keep an eye on it. Thanks for reporting this!

0reactions
ammichaelcommented, Jun 29, 2016

It worked perfectly. I narrowed to two languages and four currencies, and now it’s just ~200kb. Works like a charm. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Collection of futures gets TimeoutError #4831 - GitHub
What happened: Possibly related to #2880. I'm using client.persist to execute delayed tasks (see rough format in the MCVE).
Read more >
Trying to install selenium package in Pycharm (Python and ...
ran the command:: pip install -U Selenium and getting timeout error message. Retrying (Retry(total=4, connect=None, read=None, ...
Read more >
multiprocessing — Process-based parallelism — Python 3.11 ...
multiprocessing is a package that supports spawning processes using an API ... from multiprocessing import Pool, TimeoutError import time import os def ...
Read more >
Package compilation timeout error. - Oracle Communities
Dears, One of my custom apps package compilation is failing with "ORA-04021: timeout occurred while waiting to lock object "
Read more >
sfdx:force:package:installed:list is throwing TIMEOUT error
Summary force:installed:list command is throwing time out error as Your query request was running for too long. Steps To Reproduce: 1.
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