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:
Austin Kuo 2016-01-31 06:44:10 -08:00 committed by facebook-github-bot-7
parent ef64bdf392
commit 6d58de1b7b
1 changed files with 1 additions and 1 deletions

View File

@ -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: