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 năm trước cách đây
mục cha
commit
e91e3c076d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      snapcraft.yaml

+ 2 - 0
snapcraft.yaml

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