node-red-nodes icon indicating copy to clipboard operation
node-red-nodes copied to clipboard

Node-red crashed after connect Arduino and using this module

Open ghost opened this issue 3 years ago • 0 comments

Which node are you reporting an issue on?

node-red-node-arduino

What are the steps to reproduce?

  1. Use Arduino Input
  2. Connect Arduino

What happens?

Node-red crashed with error: TypeError: cannot set properties of undefined (setting 'pinMode') at Firmata.pinMode (/root/.node-red/node_modules/firmata-io/lib/firmata.js:947:27)

What do you expect to happen?

Successful read from pin

Please tell us about your environment:

  • [ ] Node-RED version: 2.2.2
  • [ ] node.js version: v16.14.2
  • [ ] npm version: 8.1.3
  • [ ] Platform/OS: armv7/ Alpine Linux
  • [ ] Browser: Yandex Browser (on other PC with Windows)

ghost avatar May 30 '22 11:05 ghost