The instructions for installing BrewPi-Ui on Ubuntu hasn’t worked on my hypriot rpi. Has anyone successfully set that up and can share some insight?
I think the problem is the below:
$ sudo npm link
npm WARN lifecycle immutable-table@1.0.0~prepublish: cannot run in wd %s %s (wd= %s) immutable-table@1.0.0 npm run build /home/pirate/brewpi-ui/node_modules/immu table-table
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/ch okidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”} )
npm WARN immutable-table@1.0.0 No repository field.
/usr/lib/node_modules/immutable-table -> /home/pirate/brewpi-ui/node_modules/imm utable-table
Immutable-table is not coming from npm, but from Github, because I needed to address some bugs.
Therefore, it has to be linked manually.
Check post-install.sh
, does that work for you?
I’ll have a look at building an rpi based container, but we moved recently and my rpi running docker is still in one of the boxes and I haven’t found out which yet
tried “sudo sh post-install.sh” and it gave me the below, no change…
$ sudo sh post-install.sh
npm WARN lifecycle immutable-table@1.0.0~prepublish: cannot run in wd %s %s (wd=%s) immutable-table@1.0.0 npm run build /home/pirate/brewpi-ui/node_modules/immutable-table
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})
npm WARN immutable-table@1.0.0 No repository field.
/usr/lib/node_modules/immutable-table -> /home/pirate/brewpi-ui/node_modules/immutable-table