Skip to content

Commit

Permalink
Update serialport error message
Browse files Browse the repository at this point in the history
Updating this message because:
* The old link no longer works
* Only atypical platform combinations need to compile
  • Loading branch information
dtex authored and rwaldron committed Dec 28, 2019
1 parent fb0f54a commit 581ce5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/firmata.js/lib/com.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ if (com == null) {
if (process.env.IS_TEST_MODE) {
com = TransportStub;
} else {
console.log("It looks like serialport didn't compile properly. This is a common problem and its fix is well documented here https://github.com/voodootikigod/node-serialport#to-install");
console.log("It looks like serialport didn't install properly.");
console.log("More information can be found here https://serialport.io/docs/guide-installation");
console.log(`The result of requiring the package is: ${SerialPort}`);
console.log(error);
throw "Missing serialport dependency";
Expand Down

0 comments on commit 581ce5a

Please sign in to comment.