Skip to content

Commit

Permalink
Include npm failure if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Feb 22, 2016
1 parent d93660a commit a36006a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (useMraa) {
exec(npmCommand, function(error, stdout, stderr) {
if (error) {
console.log("opkg info libmraa0 failed.")
console.log("npm install mraa failed.")
console.log("Reasons: ");
console.log(" %s %s", opkgError.code, opkgError.message);
console.log(" %s %s", error.code, error.message);
Expand Down

0 comments on commit a36006a

Please sign in to comment.