-
Notifications
You must be signed in to change notification settings - Fork 13
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
Asset paths invalid for symlink packages on metro@^0.47 #14
Comments
I suspect this is an issue in metro and can't be fixed using metro options. The only relevant options are around asset transformation and I think configuring those will suffer from the same issue since there doesn't seem to be a granular way to configure the |
I’m not on RN 0.57 yet, so can’t say much. I’ll check once we upgrade, but it might still take a while. Sorry |
|
yep, symlinks are working fine for me again. i'm using i'd suggest trying RN >= 0.59. they were broken for me in 0.57.2 and 0.58. |
Sorry, that comment was based on my usage of RN 0.59 in iOS only. I've tried using Android and the issue still exists there. However, I don't think it's something that can be solved with metro config options, so I don't see a path forward for this repo. Best thing I can suggest is to monitor facebook/metro#290 |
I'm reopening this for transparency then, since it's not fully solved yet. |
Hi @MrLoh ,
I got an issue on RN 0.57.2 that asset paths from symlink packages cannot be resolved correctly. I think its related to this issue
Here's the repo to reproduce this issue:
https://github.com/adrianha/metro-symlink - Works fine
react-native: 0.57.1
https://github.com/adrianha/metro-symlink/tree/0.57.2 - Assets path incorrect
react-native: 0.57.2
Any suggestion?
The text was updated successfully, but these errors were encountered: