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

Bump Node 7.x to 16.x in rpi-setup-guide #833

Open
4 of 12 tasks
Fusseldieb opened this issue Jul 5, 2023 · 1 comment
Open
4 of 12 tasks

Bump Node 7.x to 16.x in rpi-setup-guide #833

Fusseldieb opened this issue Jul 5, 2023 · 1 comment

Comments

@Fusseldieb
Copy link

Fusseldieb commented Jul 5, 2023

Description

I recommend bumping the Node Version to 16.x on the below guide, as older ones are unsupported and don't run properly anymore.

https://cnc.js.org/docs/rpi-setup-guide/ (It recommends 7.x)

Line:
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - # Install NodeJS v7

To:
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - # Install NodeJS v16

I usually get a few deprecation warnings, but it works nicely with an up to date system.

Versions

  • CNCjs: 1.10.3
  • Node.js: 16.20.1
  • NPM: 8.19.4

How Do You Install CNCjs?

  • NPM
  • Download the CNCjs Desktop Application

CNC Controller

  • Smoothieware
  • TinyG/g2core
  • Marlin

Hardware

  • Raspberry Pi
  • Desktop or Laptop
  • Mobile Device

Operating System

  • Not Applicable
  • Windows
  • Mac
  • Linux
@Fusseldieb Fusseldieb changed the title Bump Node 7.x to 14.x in rpi-setup-guide Bump Node 7.x to 16.x in rpi-setup-guide Jul 5, 2023
@tarheele
Copy link

Agree. Tried 14 on the May 3rd 2023 RPIOS with desktop build and got "Error: Cannot find module 'timers/promises'"

moved to 16 and viola!

===========

https://www.raspberrypi.com/software/operating-systems/
Raspberry Pi OS with desktop
Release date: May 3rd 2023
System: 64-bit
Kernel version: 6.1
Debian version: 11 (bullseye)

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

2 participants