metro
metro copied to clipboard
HMRClient Lost
Do you want to request a feature or report a bug? bug
What is the current behavior?
after install metro & metro-core , then use yarn start[react-native start], then it throw a error named "
error: Error: Unable to resolve module metro/src/lib/bundle-modules/HMRClient
from node_modules/react-native/Libraries/Utilities/HMRClient.js
: metro/src/lib/bundle-modules/HMRClient could not be found within the project.
"
and when i remove metro & metro-core dependence, it worked.
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can yarn install
and yarn test
.
yarn add metro & metro-core -D
yarn start
What is the expected behavior? use metro & metro-core can work Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system. rn 062 node 12 ios-simulator
Did you find a solution for this?