-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
React Native bundler no longer scans for symlinks in node_modules #21735
Comments
Commit 9a77ff5 seems to disable symlink scanning for apps that doesn't have a config file. This commit should restore that, without breaking those with config files. Fixes facebook#21735
Commit 9a77ff5 seems to disable symlink scanning for apps that don't have a config file. This commit should restore that, without breaking those with a config file. Fixes facebook#21735
I also got this problem |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Confirmed that this issue still exists in React Native 0.60.4, with react-native-community/cli 2.8.3. I'll migrate both the issue and the proposed PR to the react-native-community/cli repo. |
Copied to react-native-community/cli#616 |
Environment
Description
In React Native 0.56, the bundler will "Scanning folders for symlinks" in the project's
node_modules
directory. It doesn't do that anymore in React Native 0.57.Reproduction procedure
cd linkingProject
, andyarn install
. At this commit, the version of React Native is 0.56.1.react-native start
. Notice that in the very first line it saidScanning folders for symlinks in /path/to/linkingProject/node_modules (__ms)
."I'm linked!"
.peat-psuwit/react-native-symlink-scan-demo@4298dccpeat-psuwit/react-native-symlink-scan-demo@8e5bb63. Runyarn install
again. At this commit, the version of React Native is0.57.20.60.4 and react-native-community/cli is at 2.8.3.react-native start
. Notice that there isn'tScanning folders for symlinks ...
anymore.Unable to resolve module 'linked-package'
.Additional info
I believe this breaks in 9a77ff5. I'll prepare the PR that fixes this problem.
The text was updated successfully, but these errors were encountered: