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.

React Packager "Unexpected raw mappings" in 0.43.0-rc.2

See original GitHub issue

Description

After starting Perf Monitor with Dev settings off, React Packager eventually choked without me doing anything with:

 ERROR  Unexpected raw mappings for G:\mobile\cadastro\lib\root.js
{"name":"Invariant Violation","framesToPop":1}
Invariant Violation: Unexpected raw mappings for G:\mobile\cadastro\lib\root.js
    at invariant (G:\mobile\cadastro\node_modules\react-native\node_modules\fbjs\lib\invariant.js:44:15)
    at getModules.forEach.module (G:/mobile/cadastro/node_modules/react-native/packager/src/Bundler/Bundle.js:222:7)
    at Array.forEach (native)
    at Bundle._getCombinedSourceMaps (G:/mobile/cadastro/node_modules/react-native/packager/src/Bundler/Bundle.js:217:23)
    at Bundle.getSourceMap (G:/mobile/cadastro/node_modules/react-native/packager/src/Bundler/Bundle.js:245:14)
    at Bundle.getSourceMapString (G:/mobile/cadastro/node_modules/react-native/packager/src/Bundler/Bundle.js:251:34)
    at building.then.p (G:/mobile/cadastro/node_modules/react-native/packager/src/Server/index.js:777:31)
    at process._tickCallback (internal/process/next_tick.js:109:7)

Reproduction

  • Enable perf monitor
  • Reload a couple of times

Additional Information

  • React Native version: 0.43.0-rc.2
  • Platform: Android
  • Operating System: Windows 10 x64

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:26
  • Comments:25 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
grokecommented, Mar 25, 2017

I think I found a way around this issue, at least for my setup. From the development menu on my android I selected Dev Settings and re-enabled JS Dev Mode that resolved this issue for me.

1reaction
annelorraineuycommented, Jun 2, 2017

I am getting this as well. So on DEV mode ON, chrome debugging works the first time. Upon reload, the app is just a white screen. So I have to turn off Remote JS Debugging in order to get the app back again. Rinse and repeat cycle. 😕

"react-native": "0.44.0" I am using "react-native-navigation": "^1.1.81" though. Not sure if this has something to do with it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated based on the packages in this Spack version....
Read more >
Bug listing with status CONFIRMED as at 2022/12/26 10:46:31
scripts to hang" status:CONFIRMED resolution: severity:normal · Bug:144574 - "app-crypt/ffv-0.43.ebuild (New Package)" status:CONFIRMED resolution: ...
Read more >
React Js : Module parse failed: Unexpected token
Looks like this is due to a recent change in this package, that changed how the symbols were declared:.
Read more >
Change log : linux-azure-edge package : Ubuntu - Launchpad
linux-azure-edge (5.0.0-1012.12~18.04.2) bionic; urgency=medium ... don't permit memblock resizing until linear mapping is up - efi/arm: Defer persistent ...
Read more >
Partial Least Squares Regression of Oil Sands Processing ...
2. Background. 2.1. Oil Sands Geology and Petrochemical Processing ... be tracked to observe system response to unexpected trends in ore feed attributes; ......
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