RTK / cordova-cookie-emperor

MIT License
13 stars 17 forks source link

Can't install it using Cordova@8.1.2 #2

Closed erico-m closed 5 years ago

erico-m commented 5 years ago

I tried install it in my project following README instructions but I'm stuck on this

> cordova plugin add https://github.com/rtk/cordova-cookie-emperor.git --save Failed to fetch plugin https://github.com/rtk/cordova-cookie-emperor.git via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received type undefined [ERROR] An error occurred while running subprocess cordova.

Searching for any leads that could help me I've found this;

https://ourcodeworld.com/articles/read/455/cordova-error-failed-to-fetch-plugin-npm-not-being-able-to-find-a-package-json-in-a-package-you-are-trying-to-install

you will need to create a new package.json file in the root folder of your plugin.