mirror of https://github.com/grpc/grpc-node.git
Improve message wording
This commit is contained in:
parent
7652ef74ed
commit
02e70cba37
|
@ -37,7 +37,7 @@ try {
|
||||||
var foundNames = fs.readdirSync(searchPath);
|
var foundNames = fs.readdirSync(searchPath);
|
||||||
if (foundNames.indexOf(searchName) === -1) {
|
if (foundNames.indexOf(searchName) === -1) {
|
||||||
var message = `Failed to load gRPC binary module because it was not installed for the current system
|
var message = `Failed to load gRPC binary module because it was not installed for the current system
|
||||||
Expected: ${searchName}
|
Expected directory: ${searchName}
|
||||||
Found: [${foundNames.join(', ')}]
|
Found: [${foundNames.join(', ')}]
|
||||||
This problem can often be fixed by running "npm rebuild" on the current system
|
This problem can often be fixed by running "npm rebuild" on the current system
|
||||||
Original error: ${e.message}`;
|
Original error: ${e.message}`;
|
||||||
|
|
Loading…
Reference in New Issue