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] "type":"InternalError","message":"react-packager has encountered an internal error

See original GitHub issue

I started getting an InternalError error opening my React app in the iOS Simulator:

{"type":"InternalError","message":"react-packager has encountered an internal error, please check your terminal error output for details"}

The XCode debug window has the following warning:

2015-09-30 08:25:36.383 [warn][tid:NSOperationQueue 0x7fd84bf81f30 :: NSOperation 0x7fd84bc8bed0 (QOS: LEGACY)][RCTDevMenu.m:211] RCTSourceCode module scriptURL has not been set

And my terminal running npm start has the error:

Error: failed to parse query: must use ["allof", expr...]
    at BunserBuf.<anonymous> (/SandBox/hkiosk_react/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/index.js:93:23)
    at emitOne (events.js:77:13)
    at BunserBuf.emit (events.js:169:7)
    at BunserBuf.process (/SandBox/hkiosk_react/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/node_modules/bser/index.js:289:10)
    at /SandBox/hkiosk_react/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/node_modules/bser/index.js:244:12
    at doNTCallback0 (node.js:407:9)
    at process._tickCallback (node.js:336:13)

None of these error messages help identify, where, what or why the problem is happening.

Other reported issues #3022, #2345, #2550 haven’t helped narrow down the issue for me either.

Suggestions of restarting computer, reinstalling watchman, etc have not helped.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:24 (4 by maintainers)

github_iconTop GitHub Comments

35reactions
tomazahlincommented, Nov 17, 2016

I have this problem too, any solutions? I tried all above and it didn’t work. The solution was to restart my osx. I don’t know why it works now, but it’s all good. 😃

5reactions
idecommented, Oct 9, 2015

Here are some steps you can take to try to get things in a good state:

  • Keep your Homebrew modules updated, especially Watchman
  • Keep Node updated (4+). In a future release of React Native we’ve told npm to print a warning/error if your version of Node is too old.
  • Restart Watchman. Try watchman watch-del-all or a more forceful option: pkill watchman.
  • Restart the packager. Just close the terminal window where it’s running. Make sure your packager and version of React Native are in sync. Restart the packager when you upgrade React Native.
  • Clear the packager cache in $TMPDIR/react-packager-cache-*. and restart.
Read more comments on GitHub >

github_iconTop Results From Across the Web

react-packager has encountered an internal error, please ...
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is ......
Read more >
AIR 14.0 - ADT: Packaging failed. Packager internal error
In my current situation, I have a code signing certificate from GoDaddy. GoDaddy allows you to key your certificate with something called Starfield....
Read more >
An internal server error has occurred when accessing ...
An internal server error is thrown when accessing Installed Packages while using Safari and in the Lightning interface.
Read more >
Abaqus Explicit 2D + ALE = Internal error?? - Eng-Tips
Hi this is what i get by .msg file: =========== Abaqus JOB MR2901_DYN_ALE Abaqus 6.10-1 /opt/abaqus2/6.10-1/Python/Lib/jabber.py:68: ...
Read more >
Use of internal package not allowed - Stack Overflow
Internal packages (packages that are inside a folder that has an internal folder in their path) can only be imported from packages rooted...
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