mirror of https://github.com/status-im/metro.git
Improve the error message when the packager can't find a module
Summary: Closes https://github.com/facebook/react-native/pull/5647 Reviewed By: svcscm Differential Revision: D2884241 Pulled By: androidtrunkagent fb-gh-sync-id: 115491270c8f84d45f67a1a477543d9ace76f447
This commit is contained in:
parent
ef64bdf392
commit
6d58de1b7b
|
@ -386,7 +386,7 @@ class ResolutionRequest {
|
|||
throw new UnableToResolveError(
|
||||
fromModule,
|
||||
toModule,
|
||||
`Invalid directory ${potentialDirPath}
|
||||
`Unable to find this module in its module map or any of the node_modules directories under ${potentialDirPath} and its parent directories
|
||||
|
||||
This might be related to https://github.com/facebook/react-native/issues/4968
|
||||
To resolve try the following:
|
||||
|
|
Loading…
Reference in New Issue