rvl / bower2nix

Generate nix expressions to fetch bower dependencies.
Other
6 stars 10 forks source link

) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Invalid endpoint #19

Open qknight opened 5 years ago

qknight commented 5 years ago

using bower2nix 3.2.0 with https://github.com/xwiki-labs/cryptpad/blob/38a1e5e39fb854cdbad8896333901beb85ee6510/bower.json results in this error:

bower2nix bower.json bower-generated.nix

(node:26837) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Invalid endpoint: #^1.6.0

it seems this is a feature which is not supported in bower2nix.

hack

if this patch is applied, it is working:

     "html2canvas": "^0.4.1",
     "croppie": "^2.5.0",
-    "sortablejs": "#^1.6.0",
+    "sortablejs": "^1.6.0",
     "saferphore": "^0.0.1"
-  },
zimbatm commented 5 years ago

did you finish packaging cryptpad by any chance?

qknight commented 5 years ago

no, sorry

zimbatm commented 5 years ago

I'm working on it over at https://github.com/NixOS/nixpkgs/pull/61513 if you are interested