From 9dd648c79e328d3c4c5a85126f125eac4d30ca34 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 16 Jun 2017 16:29:50 +0200 Subject: [PATCH] Fix fancybox being considered extraneous package Since Debian-provided version of NPM does not support scoped packages, we tried to install FancyBox from Git. I also changed the dependency name in the `package.json` to just `fancybox` in order not to trigger the outdated NPM. Apparently, this made NPM think the package is extraneous due to a mismatch between the package name and the name in the `package.json`. And what is more it does not work with older NPM versions either. For that reason, we have decided to ignore the older NPM versions for now. --- public/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/package.json b/public/package.json index 036e0cad16..b99f190da9 100644 --- a/public/package.json +++ b/public/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "fancybox": "github:fancyapps/fancybox#v3.1.20", + "@fancyapps/fancybox": "^3.1.20", "jquery": "^2.2.4", "jquery-hotkeys": "^0.2.2", "jquery-mousewheel": "^3.1.13",