You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the provided error code looks more like a broken source file than an issue with Johnny-Five. It should be impossible for a Johnny-Five error to produce a SyntaxError.
@scottgonzalez I take it back. I see now that Serial has been updated in 2023, but no new release has been presented.
So you are right, the source downloaded directly from here (and not from "release" page) is newer than the one on npm.
Maybe we should ask to make a new 2.2.20250201 release ? (it is always a good practice to include a date in the numbering)
I wouldn't hold your breath for a release. I gave up waiting for one a long time ago and started using my own fork (also forked firmata to use an updated serialport which gets pulled into johnny-five). I point to the tip of https://github.com/scottgonzalez/johnny-five/tree/blue-owl (currently using "johnny-five": "scottgonzalez/johnny-five#f548f9aed5b1992cb8f847e95b5a4583f952fc73" as my dependency) for my projects.
As for using a date as a patch version, that is definitely not a good practice. If you want to include a date in the version, it should be in the build metadata, e.g., 2.2.0+20250201, but I personally would not recommend that either.
@scottgonzalez Actually my real goal is to find a stable Node-Red module, that would properly handle Firmata. (Currently I'm using RPi-Pico boards with Configurable-Firmata firmware on them.)
The Node-Red's built-in module called: 35-aruino, based on Firmata-io, can not properly handle:
Re-Deploy /
USB-disconnect /
reconnect /
wrong pin number / << the whole NR is crashing
(temp reading)
The whole Arduino module is freezing down. I've checked the codebase of those files, and I think the main problem is:
there is not any serial.on('error')... present,
no timeout of data flow
nor enough try..catch .
So I thought what if Johnny-five can handle it better? (Was big fan of the movie as a child 🤖 .)
Activity
scottgonzalez commentedon Mar 5, 2024
I have no issues with my Pi 400s.
But the provided error code looks more like a broken source file than an issue with Johnny-Five. It should be impossible for a Johnny-Five error to produce a
SyntaxError.scottgonzalez commentedon Mar 5, 2024
I'd try
rm -rf node_modules && npm install.lbineau commentedon Mar 29, 2024
In addition you can try to install the main branch instead of npm (npm last update is 3years ago, while github is 1year ago).
https://github.com/rwaldron/johnny-five?tab=readme-ov-file#source-code
PizzaProgram commentedon Feb 1, 2025
But the Release version number here matches the one at
npm: 2.1.0I think @johnny-five would update on npm too, if anything would change.
IMHO this issue can be closed.
PizzaProgram commentedon Feb 1, 2025
@scottgonzalez I take it back. I see now that Serial has been updated in 2023, but no new release has been presented.
So you are right, the source downloaded directly from here (and not from "release" page) is newer than the one on npm.
Maybe we should ask to make a new
2.2.20250201release ?(it is always a good practice to include a date in the numbering)
scottgonzalez commentedon Feb 1, 2025
I wouldn't hold your breath for a release. I gave up waiting for one a long time ago and started using my own fork (also forked
firmatato use an updatedserialportwhich gets pulled intojohnny-five). I point to the tip of https://github.com/scottgonzalez/johnny-five/tree/blue-owl (currently using"johnny-five": "scottgonzalez/johnny-five#f548f9aed5b1992cb8f847e95b5a4583f952fc73"as my dependency) for my projects.As for using a date as a patch version, that is definitely not a good practice. If you want to include a date in the version, it should be in the build metadata, e.g.,
2.2.0+20250201, but I personally would not recommend that either.@dtex can you close this issue?
dtex commentedon Feb 1, 2025
I should ping @rwaldron. I think he believes I can publish releases at npm, but that's the one privilege I don't have.
PizzaProgram commentedon Feb 2, 2025
@scottgonzalez Actually my real goal is to find a stable Node-Red module, that would properly handle Firmata.
(Currently I'm using RPi-Pico boards with Configurable-Firmata firmware on them.)
The Node-Red's built-in module called: 35-aruino, based on Firmata-io, can not properly handle:
The whole Arduino module is freezing down. I've checked the codebase of those files, and I think the main problem is:
serial.on('error')...present,So I thought what if Johnny-five can handle it better? (Was big fan of the movie as a child 🤖 .)
tbaltrushaitis commentedon Mar 7, 2025
💯