Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nodebot:galileo] error loading io class #4

Open
microspace opened this issue May 23, 2015 · 0 comments
Open

[nodebot:galileo] error loading io class #4

microspace opened this issue May 23, 2015 · 0 comments

Comments

@microspace
Copy link

I get this error when I run node-red.
Error refer to this line of code https://github.com/monteslu/node-red-contrib-gpio/blob/master/lib/nodebotNode.js#L65
This means can't create boardModule class. This can be fro two reasons

  1. something wrong with galileo-io
  2. n.boardType is empty

I've tried to blink the led using galileo-io example from here https://github.com/rwaldron/galileo-io/blob/master/eg/blink.js
It is working. I think this means that problem is not with galileo-io lib.
Here is console.log for n:

n.boardType{ id: '9d57e2eb.62a82',
  type: 'nodebot',
  name: '',
  username: '',
  password: '',
  boardType: 'firmata',
  serialportName: '/dev/USBTTY1',
  connectionType: 'local',
  mqttServer: '',
  pubTopic: '',
  subTopic: '',
  tcpHost: '',
  tcpPort: '',
  sparkId: '',
  sparkToken: '',
  beanId: '',
  impId: '' }

boardtype is always 'firmata' and doesn't change whatever board I select.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant