소스 검색

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 7 년 전
부모
커밋
e91e3c076d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      snapcraft.yaml

+ 2 - 0
snapcraft.yaml

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