Coder Social home page Coder Social logo

Comments (6)

pdobrien3 avatar pdobrien3 commented on July 20, 2024

Think I have figured out that it is this error during the npm install?

prebuild-install info begin Prebuild-install version 5.3.6
prebuild-install info looking for cached prebuild @ /home/pi/.npm/_prebuilds/470134-usb-v1.6.3-node-v72-linux-arm.tar.gz
prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-arm.tar.gz
prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-arm.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=12.18.1 runtime=node arch=arm libc= platform=linux)

from pi-suite.

jeffyactive avatar jeffyactive commented on July 20, 2024

Hi @pdobrien3, the error you observe in your first message is due to the @elastic/elasticsearch package which seems to have a bug in v7.9.1 (the most recent version at the time of this post). The workaround is to install v7.9.0.

I've created a new version of hlc-server (the key dependency of pi-suite) which forces v7.9.0 to avoid this issue, which has been a pain for the few weeks since v7.9.1 was released. Can you try deleting your node_modules folder and running npm install and then npm start once again and confirm that the error message is no longer thrown?

from pi-suite.

pdobrien3 avatar pdobrien3 commented on July 20, 2024

So, flashed a backup and am back to a clean raspbian install. Are you saying I should just be able to follow the instruction on the website (https://reelyactive.github.io/diy/pi-prep/ ) now and things should work?

from pi-suite.

jeffyactive avatar jeffyactive commented on July 20, 2024

Yes, if you follow the two Pi tutorials everything should work:

On the Pi 3B+, you would run the start-hci script with npm to use the onboard BLE radio. If you're using a Pi 2 with BLE dongle, this might also work out-of-the-box, but there's a good chance you'll need to read up on the docs for bluetooth-hci-socket: https://www.npmjs.com/package/@abandonware/bluetooth-hci-socket

Kindly update this issue based on your results either way, thanks!

from pi-suite.

pdobrien3 avatar pdobrien3 commented on July 20, 2024

so i did sudo apt-get install libudev-dev
then after the cd pi-suite command, i did npm install @abandonware/bluetooth-hci-socket
and then followed on with the pi-suite install directions and i am up and running

not sure if the bluetooth-hci-socket was needed or not but thank you very much !!!

from pi-suite.

jeffyactive avatar jeffyactive commented on July 20, 2024

Excellent, glad it worked with the libudev-dev prerequisite.

Closing the issue. Have fun exploring ambient Bluetooth data!

from pi-suite.

Related Issues (9)

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.