Skip to content

Commit

Permalink
README: Add install instructions for "npm" on Ubuntu
Browse files Browse the repository at this point in the history
Installing npm is tricky apparently, so provide detailed instructions to
prevent the obscure package errors "apt install npm" often reports.

Signed-off-by: Mike Looijmans <[email protected]>
  • Loading branch information
MikeLooijmans authored and FrancoisLoubser-1 committed Sep 6, 2023
1 parent 1ffc30d commit 84caa3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ distribution is [supported](https://docs.yoctoproject.org/singleindex.html#suppo

Additional host tools need to be installed for native builds to work.

* Install the "npm" package, doing it like this circumvents issues with broken dependencies:
sudo apt-get install nodejs-dev node-gyp libssl1.0-dev
sudo apt-get install npm

* Run the barys build script:
`./balena-yocto-scripts/build/barys`

Expand Down

0 comments on commit 84caa3d

Please sign in to comment.