فهرست منبع

- Try to get latest npm.

Lauri Ojansivu 6 سال پیش
والد
کامیت
1b65cbd3db
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      snapcraft.yaml

+ 2 - 1
snapcraft.yaml

@@ -83,7 +83,6 @@ parts:
         plugin: nodejs
         node-engine: 8.12.0
         node-packages:
-            - npm@6.4.1
             - node-gyp
             - node-pre-gyp
             - fibers@2.0.0
@@ -121,6 +120,8 @@ parts:
             # Removed from build-packages: - paxctl
             #echo "Applying paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303"
             #paxctl -mC `which node`
+            echo "Installing npm"
+            curl -L https://www.npmjs.com/install.sh | sh
             echo "Installing meteor"
             curl https://install.meteor.com/ -o install_meteor.sh
             #sed -i "s|RELEASE=.*|RELEASE=\"1.8.1-beta.0\"|g" install_meteor.sh