Browse Source

Fix Snap.

Thanks to xet7 !
Lauri Ojansivu 5 years ago
parent
commit
7761a22bb4
3 changed files with 2 additions and 11 deletions
  1. 0 8
      package-lock.json
  2. 0 1
      package.json
  3. 2 2
      snapcraft.yaml

+ 0 - 8
package-lock.json

@@ -1392,14 +1392,6 @@
       "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
       "dev": true
     },
-    "fibers": {
-      "version": "4.0.1",
-      "resolved": "https://registry.npmjs.org/fibers/-/fibers-4.0.1.tgz",
-      "integrity": "sha512-H79EJn7DMWXk48ygmC82bMP8KNcFBZF1CPfwBpYF6cO85hGWoIrlu7eyX9ayxfjP9Nsl0JXxdI6fpYU4DWVw2w==",
-      "requires": {
-        "detect-libc": "^1.0.3"
-      }
-    },
     "figures": {
       "version": "3.0.0",
       "resolved": "https://registry.npmjs.org/figures/-/figures-3.0.0.tgz",

+ 0 - 1
package.json

@@ -60,7 +60,6 @@
     "bson": "^4.0.0",
     "bunyan": "^1.8.12",
     "es6-promise": "^4.2.4",
-    "fibers": "^4.0.1",
     "gridfs-stream": "^0.5.3",
     "ldapjs": "^1.0.2",
     "meteor-node-stubs": "^0.4.1",

+ 2 - 2
snapcraft.yaml

@@ -85,7 +85,7 @@ parts:
         node-packages:
             - node-gyp
             - node-pre-gyp
-            - fibers
+            - fibers@2.0.0
         build-packages:
             - ca-certificates
             - apt-utils
@@ -190,7 +190,7 @@ parts:
             #  git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git
             #  cd ..
             #fi
-            rm -rf package-lock.json .build
+            rm -rf .build
             meteor add standard-minifier-js --allow-superuser
             meteor npm install --allow-superuser
             meteor npm install --allow-superuser --save babel-runtime