Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.23.0-rc1]Unable to resolve modules AssestRegistry when require image inside node_modules #6638

Closed
evollu opened this issue Mar 24, 2016 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@evollu
Copy link

evollu commented Mar 24, 2016

I have code like
<Image source={require('react-native-router-flux/src/back_chevron.png')} style={{height: 100, width: 100}}/> in my app and it works fine in 0.22.2

but in 0.23.0-rc1 system throws "Unable to resolve modules AssestRegistry [path to back_chevron.png" in IOS, and "Requireing unknown module "AssestRegistry"" in Android

@RWOverdijk
Copy link

👍

@philipshurpik
Copy link

Confirm - if require image inside project - it works
If image is required in library (that is placed in node_modules) - not working

@mkonicek
Copy link
Contributor

Might be caused by 06b5bda.

ETA for a fix next week.

bestander added a commit to bestander/react-native that referenced this issue Apr 5, 2016
@ghost ghost closed this as completed in d0566d8 Apr 6, 2016
mkonicek pushed a commit that referenced this issue Apr 6, 2016
Summary:This fixes #6638 by resolving AssetRegistry relatively.
Closes #6822

Reviewed By: davidaurelio

Differential Revision: D3144463

Pulled By: bestander

fb-gh-sync-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
fbshipit-source-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
ide pushed a commit that referenced this issue Apr 6, 2016
Summary:This fixes #6638 by resolving AssetRegistry relatively.
Closes #6822

Reviewed By: davidaurelio

Differential Revision: D3144463

Pulled By: bestander

fb-gh-sync-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
fbshipit-source-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
zebulgar pushed a commit to nightingale/react-native that referenced this issue Jun 18, 2016
Summary:This fixes facebook#6638 by resolving AssetRegistry relatively.
Closes facebook#6822

Reviewed By: davidaurelio

Differential Revision: D3144463

Pulled By: bestander

fb-gh-sync-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
fbshipit-source-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
cpojer pushed a commit to facebook/metro that referenced this issue Jan 26, 2017
Summary:This fixes facebook/react-native#6638 by resolving AssetRegistry relatively.
Closes facebook/react-native#6822

Reviewed By: davidaurelio

Differential Revision: D3144463

Pulled By: bestander

fb-gh-sync-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
fbshipit-source-id: d3eeb24ae9e08a32f742c50ae5f0314fd33d1b6b
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants