Browse Source

snapcraft add nodejs and npm as build dependencies

When pulling the docker container snapcore/snapcraft
to build the snap, those 2 packages are not present
by default leading to a failure in the snap creation.

Note: it is good to call `apt-get update` before
`snapcraft` or the build will fail.
Benjamin Tissoires 6 years ago
parent
commit
e91e3c076d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      snapcraft.yaml

+ 2 - 0
snapcraft.yaml

@@ -94,6 +94,8 @@ parts:
             - capnproto
             - curl
             - execstack
+            - nodejs
+            - npm
         stage-packages:
             - libfontconfig1
         override-build: |