Coder Social home page Coder Social logo

Deps outdated about farmbot-js HOT 8 CLOSED

farmbot avatar farmbot commented on July 28, 2024
Deps outdated

from farmbot-js.

Comments (8)

RickCarlino avatar RickCarlino commented on July 28, 2024 1

I guess it is time for a dep upgrade. I've added it to my TODO list.

from farmbot-js.

SupposedlySam avatar SupposedlySam commented on July 28, 2024

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.

RickCarlino avatar RickCarlino commented on July 28, 2024

@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.

RickCarlino avatar RickCarlino commented on July 28, 2024

@SupposedlySam I have published 14.2.1-rc.0 on NPM if you would like to take a look.

from farmbot-js.

RickCarlino avatar RickCarlino commented on July 28, 2024

@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.

SupposedlySam avatar SupposedlySam commented on July 28, 2024

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.

RickCarlino avatar RickCarlino commented on July 28, 2024

@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.

RickCarlino avatar RickCarlino commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.