Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Other programming languages • Re: Trying to install NodeJS and serialport.

$
0
0
We could install an old version of serialport. On a Pi1 (B+) install Raspberry Pi OS (Legacy 32-bit) Lite, and do updates
sudo apt install nodejs npm
This gets us: node --version v12.22.12 and npm --version 7.5.

Code:

npm install serialport@9.0.3
This gets us

Code:

npm list | grep serialport└── serialport@9.0.3
Try that?

Statistics: Posted by neilgl — Sun Aug 03, 2025 2:01 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles