-
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
[0.57.0-rc.0] Error: Cannot find module 'metro/src/blacklist' on any react-native cli cmd #20799
Comments
Can you post the contents of |
Good one! // WORKAROUND: https://github.com/oblador/react-native-vector-icons/issues/626#issuecomment-362386341
// to be fixed by https://github.com/facebook/react-native/pull/17672
const blacklist = require('metro/src/blacklist')
module.exports = {
getBlacklistRE () {
return blacklist([/react-native\/local-cli\/core\/__fixtures__.*/])
},
} Is |
@fungilation it has been recently moved to the |
It seems like you should simply update the path - and btw I suggest you also write a comment in the issue you link as "workaround" for good measure. Anyway, if updating the path works please close this issue. |
I see this PR is already in: 54dc11a which fixes and nullifies the need for the workaround. So I simply took out my pasted I'm seeing other peculiarities during app run time that's new to 0.57, I'll dig on whether those are bugs or changes that's undocumented and report back. Thanks for the help here. |
Environment
Description
Reproducible Demo
Running
react-native upgrade
orreact-native run-android
, I getNote that I ran
yarn add [email protected]
from RN 0.56.0 first, beforereact-native upgrade
.react-native run-android
is after I've manually upgraded. More details of other steps I took on hitting the metro blacklist error on #20710.Unsure if possibly related to #20712.
My package.json
The text was updated successfully, but these errors were encountered: