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

Metro Bundler's "Looking for JS files in" not listing all linked project directories #22469

Closed
3 tasks done
jerinho opened this issue Dec 1, 2018 · 1 comment
Closed
3 tasks done
Labels
Bug Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.

Comments

@jerinho
Copy link

jerinho commented Dec 1, 2018

Environment (react-native info)

Environment:

  • OS: Windows 10
  • Node: 8.11.4
  • Yarn: 1.9.4
  • npm: 6.4.1

Packages: (wanted => installed)

  • react: 16.6.1 => 16.6.1
  • react-native: 0.57.7 => 0.57.7

Description

Metro bundler does not lists all the project directories. Latest older version this is working is 0.52.4, where it looks like this.

Looking for JS files in
C:\Users\USER\Desktop\test
C:\Users\USER\AppData\Local\Yarn\Data\link\react-native-mylibrary

The misbehave is followed by error Unable to resolve module react-native-mylibrary produced by the import part of js code.

Reproducible Demo

Just follow this instructions

@jerinho jerinho changed the title How to install or use a package in a library project Metro Bundler not lists all linked project directories Dec 1, 2018
@react-native-bot react-native-bot added the Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. label Dec 1, 2018
@jerinho jerinho changed the title Metro Bundler not lists all linked project directories Metro Bundler's "Looking for JS files in" not listing all linked project directories Dec 1, 2018
@hramos hramos removed the Bug Report label Feb 6, 2019
@grabbou
Copy link
Contributor

grabbou commented Mar 19, 2019

Thank you for sending it. Please open this issue in https://github.com/facebook/metro repository so the dedicated team of Metro experts can look into the issue.

@grabbou grabbou closed this as completed Mar 19, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Mar 19, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.
Projects
None yet
Development

No branches or pull requests

4 participants