mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 09:12:46 +08:00
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:
committed by
facebook-github-bot-7
parent
670f9afaa1
commit
d3a1d27aaa
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user