Skip to content

Just to clarify for anybody INSTALL + tried to run the PWA #15

@spacewalkingninja

Description

@spacewalkingninja

Hey guys!
Im just going to get this clear_-er_ for people trying this out in this day and age.
Or even myself if I forget later, lol.
So. Im installing this on RPI 3b+ with raspbian.

When you run
sudo setcap cap_net_raw+eip $(eval readlink -f which node)
if you get an error because of the symlink
just run
which node
and do
sudo setcap cap_net_raw+eip #OUTPUT FROM WHICH NODE HERE#

Then, you might get errors building the bluetooth-hci-manager.
For this you might need to downgrade node

So, install n, globally if you haven't.

sudo npm install -g n

and then downgrade to 9.11.2 using the n package.

sudo n 9.11.2

This done, you should be able to run the manager on your server. The pwa.. is a whole different story, just spent a couple of hours trying to run it but sapper and svelte aren't my area and there's virtually no docs.

Im now trying to get connected to a wifi network using only Light Blue and then if it works, I'll implement it in my web app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions