Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CNCjs with GRBL CNC on a Raspberry Pi

See original GitHub issue

Hello guys.

I’m having issues to connect the CNCjs with my GRLB printer. It was installed on the Raspberry PI. Any help would be great since I really want to use CNCjs.

The CNCjs can connect but I can’t control the CNC, the arrows are greyed out. Commands on the CNCjs’ console return nothing.

However, the CNC is working since control through the serial console from the command line.

Someone told that installing node serialport with sudo may cause issues. However, I was not able to install the CNCjs without sudo.

I got this 3018 CNC recently.

I saw that my CNC was using GRBL 0.9j so I updated to use 1.1j but it didn’t help much. Also, connecting the printer on my computer I can control the printer with the bCNC software.

It is my first time working with CNCs. Also, I never installed node applications before.


  • CNCjs: 1.9.20
  • Node.js: 10.16.3
  • NPM: 6.9.0

How Do You Install CNCjs?

  • NPM
  • Download the CNCjs Desktop Application

CNC Controller

  • Grbl
  • Smoothieware
  • TinyG/g2core


  • Raspberry Pi
  • Desktop or Laptop
  • Mobile Device

Operating System

  • Not Applicable
  • Windows
  • Mac
  • Linux

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

MitchBradleycommented, Aug 19, 2019

Hmmm - the other thing that comes to mind is maybe there is some other process that is listening on the serial port and eating some of the characters. Aha - yep, its the repetier service.

MitchBradleycommented, Aug 19, 2019

I am starting to suspect that the serialport module is confused about line endings - or maybe it is an xon/xoff problem. I vaguely remember that someone was having a problem like that. I will try to find the issue that described it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cncjs | cncjs
A web-based interface for CNC milling controller running Grbl, Smoothieware, or TinyG. It runs on an Raspberry Pi or a laptop computer that...
Read more >
Raspberry Pi CNC (GRBL, CNC.js) - V1 Engineering Forum
The raspberry pi can run bCNC if you have a monitor connected to it, or you can run CNC.js ( and then ...
Read more >
Adding a Raspberry Pi Zero W and CNC JS to the 3018 ...
I attached a Raspberry Pi Zero W running CNCJS software to my ... Description=A web-based interface for CNC milling controller running Grbl, ...
Read more >
cncjs - npm
Keywords. cncjs · arduino · raspberry · pi · cnc · gcode · grbl · smoothie · smoothieware · tinyg · g2core ·...
Read more >
Raspberry Pi CNC - Quick Start Guide - Protoneer - Wiki
To move the machine, click on the arrow buttons on the right of the screen. Cncjs moving grbl.png. This was a very quick...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found