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

Importing files outside project directory does not work #289

Open
ivan-jorge001 opened this issue Oct 10, 2018 · 3 comments
Open

Importing files outside project directory does not work #289

ivan-jorge001 opened this issue Oct 10, 2018 · 3 comments

Comments

@ivan-jorge001
Copy link

ivan-jorge001 commented Oct 10, 2018

this doesn't work for me, I have the same project structure and when I import a js file it works perfectly but now if I import anything that isn't a .js (like png, svg, jpg) file it breaks, it doesn't display any error but just doesn't show the image. If put them within the project root then it works perfectly. please let me know if you need further details
Originally posted by @ivan-jorge001 in #269 (comment)

@ivan-jorge001 ivan-jorge001 changed the title this doesn't work for me, I have the same project structure and when I import a js file it works perfectly but now if I import anything that isn't a .js (like png, svg, jpg) file it breaks, it doesn't display any error but just doesn't show the image. If put them within the project root then it works perfectly. please let me know if you need further details Importing files outside project directory does not work Oct 10, 2018
@marioharper
Copy link

I am experiencing the same issue. I've created a reproducible project here: https://github.com/marioharper/metro-image-load-bug

@marioharper
Copy link

duplicate of #290

@rajivshah3
Copy link

rajivshah3 commented Nov 22, 2018

I'm also experiencing the same issue. However, it seems like the issue only occurs in Debug mode instead of Release mode. I'm using RN 0.57.5 (metro 0.48.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants