I updated the pi, octoprint etc but I do not see a good way to update cnc.js There is nothing in the interface and I was unable to figure out how it was installed to work out the method to update from the cli.
So I tried the update command and it was unable to find NPM. So I tried to install Node.js but the copy failed as the files were in use. I then tried an NPM install which failed so I ran the update again
sudo apt update
sudo apt full-upgrade
After which the original npm update worked fine. I have a new pi arriving tomorrow but I’ll be out of town for the weekend but I will test the process on a fresh flash of the file when I get back.
I have the latest version now but the landing page has lost the cnc.js image.