snap: Skip installing postcss due to failure on build server
authorAnthony Fok <foka@debian.org>
Fri, 24 Aug 2018 16:08:56 +0000 (10:08 -0600)
committerAnthony Fok <foka@debian.org>
Fri, 24 Aug 2018 16:08:56 +0000 (10:08 -0600)
npm running on fails to fetch postcss-cli on build.snapcraft.io
due to network proxy issue.

See https://forum.snapcraft.io/t/build-fails-behind-proxy-on-build-snapcraft-io/6951/3

snapcraft.yaml

index fd862fe02a864ad9f1d3bee9881b4e44ac41a646..a4667a3baf023c552a38b21a4a616f6376ea9d79 100644 (file)
@@ -58,16 +58,8 @@ parts:
 
   node:
     plugin: nodejs
-    node-packages: [postcss-cli]
-    filesets:
-      node:
-        - bin/node
-      postcss:
-        - bin/postcss
-        - lib/node_modules/postcss-cli/*
     prime:
-      - $node
-      - $postcss
+      - bin/node
 
   pygments:
     plugin: python