1 2 Previous Next 21 Replies Latest reply on Apr 12, 2017 5:45 PM by Intel Corporation

    Using Johnny Five with Galileo




      I have been trying to run my hello-worlds.js file on my intel Galileo (shown below):


      var five = require("johnny-five");

      var Galileo = require("galileo-io");

      var board = new five.Board({

        io: new Galileo()




      board.on("ready", function() {

        var led = new five.Led(13);




      I have installed Node.js, I also used npm install galileo-io johnny-five and downloaded files to my file directory of folder my-robotics-project.

      When i execute using node hello-worlds.js, I get the following error:


        This OS image is no longer supported.

        Please upgrade to any OS image that supports libmraa0.



      var platformType = Pin.IO.getPlatformType();



      TypeError: Cannot read property 'getPlatformType' of undefined

          at Object.<anonymous> (/Users/anna/Desktop/Bucky/node_modules/galileo-io/lib/index.js:48:26)

          at Module._compile (module.js:570:32)

          at Object.Module._extensions..js (module.js:579:10)

          at Module.load (module.js:487:32)

          at tryModuleLoad (module.js:446:12)

          at Function.Module._load (module.js:438:3)

          at Module.require (module.js:497:17)

          at require (internal/module.js:20:19)

          at Object.<anonymous> (/Users/anna/Desktop/Bucky/index.js:2:15)

          at Module._compile (module.js:570:32)

        1 2 Previous Next