Skip to content

Fix NPM install: Using v1.0.1 release of E-IS/cordova-plugin-minisodium

bpresles requested to merge bpresles/cesium:feature/minisodium-1.0.1 into master

When pointing to GIT URL repository (git+https://github.com/E-IS/cordova-plugin-minisodium.git) directly on package.json, NPM fails to download the dependency when trying to get submodules:

npm ERR! git submodule -q update --init --recursive: error: Server does not allow request for unadvertised object d3b2cc1d8ca72dc36a9e5145511e6cc8427ab3e7 npm ERR! git submodule -q update --init --recursive: Fetched in submodule path 'libsodium-jni', but it did not contain d3b2cc1d8ca72dc36a9e5145511e6cc8427ab3e7. Direct fetching of that commit failed.

Pointing directly to the v1.0.1 release archive allows npm to download the forked version correctly and works correctly with the Cesium app (cf TestFlight's 1.4.6.3 release).

Merge request reports