Vscode-react-native: Source maps with react native 0.54.0

Created on 7 Mar 2018  路  7Comments  路  Source: microsoft/vscode-react-native

Actual Behavior

  1. Source maps not generated even with launch option set to true
  2. Same project with react native 0.53.0 works fine

Expected Behavior

  1. Source maps generated
  2. 2.

Software versions

  • React-Native VS Code extension version: 0.6.4
  • VSCode version: Insiders 1.21.0
  • OS platform and version: OSX 10.13.3
  • NodeJS version: 9.2.1
  • React Native version: 0.54.0
bug debugger external

Most helpful comment

UPDATE:
This should be fixed in new version of Metro Bundler (0.29.0) and hopefully be released soon.
So please keep calm and be patient!

All 7 comments

+1

Hey guys, seems that latest version of metro bundler doesn't generate

//# sourceMappingURL=http://localhost:8081/index.map?platform=ios&dev=true&minify=false

for bundle.
I have posted a question here with some details: https://github.com/facebook/metro/issues/147

In the meantime will look at how we can overcome this.

UPDATE:
This should be fixed in new version of Metro Bundler (0.29.0) and hopefully be released soon.
So please keep calm and be patient!

Looks like 0.29.0 was released. And 0.30.0.

@pennyandsean thanks for heads up, I've looked at and RN0.54.2 is going with metro 0.28.0. Hope next version of metro will be included in new RN release.

Hey guys, closing this issue for now as we have added tmp fix for this case in https://github.com/Microsoft/vscode-react-native/releases/tag/0.6.5.
Please reach us if you have any questions or see any problems.

Ripper, thanks Max, it works!

Was this page helpful?
0 / 5 - 0 ratings