Comments (8)
I guess it is time for a dep upgrade. I've added it to my TODO list.
from farmbot-js.
Just pulled down the repo and ran npm audit fix --force
. It updated the dependencies from
"dependencies": {
"mqtt": "^3.0.0",
"ts-jest": "^24.3.0"
},
to
"dependencies": {
"mqtt": "^4.2.8",
"ts-jest": "^27.0.3"
},
but running npm run test
per the README resulted in some failures
Test Suites: 5 failed, 4 passed, 9 total
Tests: 4 failed, 6 passed, 10 total
Snapshots: 0 total
Time: 12.635 s
Any updates on the dependency upgrades and test fixes @RickCarlino?
from farmbot-js.
@SupposedlySam I am suspicious that the issue is with the test suite rather than any actual breakage (a good starting point for anyone interested in contributing).
I have pushed the dep updates to the main
branch if you would like to take a look. I won't have time to do QA on this soon (and thus, I cannot publish it to NPM right now) but if you are willing to take a look it is up.
from farmbot-js.
@SupposedlySam I have published 14.2.1-rc.0
on NPM if you would like to take a look.
from farmbot-js.
@jsimmonds2 @SupposedlySam Update 3: It looks like this update may not have been a very big one after all. It seems to work fine on my FarmBot device, so I went ahead and published [email protected]
.
Closing this issue.
from farmbot-js.
Are there any additional requirements besides pulling down the repo, running npm install
and then npm run test
? I'm running on a Macbook Pro and do not have a farmbot device.
from farmbot-js.
@SupposedlySam npm install [email protected]
should be adequate if you are trying to use FarmBotJS.
If you are trying to do local development of FBJS, npm install
and npm run test
should be all you need to do, though the build/tests are currently broken (and have been for some time AFAIK).
from farmbot-js.
Also, as a side note, if you own a Raspberry Pi 3 and an Arduino device, you can install FBOS onto a "headless" RPI (with Arduino attached) if you would like to do local testing. In your web app account, you need to select v1.2 as your model type.
This is very useful for local testing.
from farmbot-js.
Related Issues (17)
- Unicode characters not properly decoded
- Cannot use import statement outside a module (NodeJS) HOT 1
- Send log using web HOT 5
- Turn on light HOT 4
- farmbot Js token parse error .i am unable to connect farmbot function whenever i call start function it throws me this error
- Execute a sequence by sending CeleryScript HOT 2
- Disconnecting Farmbot mqtt connection HOT 4
- Need to handle errors in Farmbot.proto.publish
- Node JS issue: ReferenceError: atob is not defined HOT 4
- Verbose event logging required HOT 2
- Packaging support for running this lib in the browser HOT 3
- Is there a way to access the photos that have been taken via this API? HOT 4
- Does this library work with the current OS/cloud platform? HOT 5
- Trouble compiling or running in browser HOT 7
- js api executeSequence requires ID..but where to get? HOT 4
- project showcase MQTT from openhab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from farmbot-js.