Skip to content

Commit

Permalink
added error message to resolve facebook#4968
Browse files Browse the repository at this point in the history
  • Loading branch information
udnisap committed Dec 31, 2015
1 parent 49d15cb commit 77fe878
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,12 @@ class ResolutionRequest {
throw new UnableToResolveError(
fromModule,
toModule,
`Invalid directory ${potentialDirPath}`,
`Invalid directory ${potentialDirPath}.
Did you forget to npm install the new package?
This might be a known bug https://github.com/facebook/react-native/issues/4968
To resolve try the following steps
1. watchman watch-del-all
2. npm cache clean && npm install`,
);
}

Expand Down

0 comments on commit 77fe878

Please sign in to comment.