cncjs: Raspberry Pi "Error opening serial port"

I am not sure what’s wrong with my setup.

$ .npm/bin/cnc --host 10.0.0.23
Started the server at http://10.0.0.23:8000/.
2016-07-17T12:13:40.292Z - error: [cncserver] Error opening serial port "ttyAMA0": err={}     at /home/pi/.npm/lib/node_modules/cncjs/dist/cnc/app/index.js:1353:44

I can connect via minicom and cutecom, but not with cncjs =( Not sure what to try next.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18

Most upvoted comments

Note that you may still need to add a ~/.cncrc file as I mentioned before in order to use /dev/ttyAMA0 instead of ttyAMA0.