Reputation: 11
When i try to install "npm install @awesome-cordova-plugins/contacts" in ionic 6, am getting error as follows
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@awesome-cordova-plugins%2fcontacts - Not found
npm ERR! 404
npm ERR! 404 '@awesome-cordova-plugins/contacts@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url. ```
how can i resolve this issue. same issue is happening for uid also.
Upvotes: 0
Views: 1413
Reputation: 1458
You can install the individual cordova plugins (like contacts) with with @ionic-native/contacts and cordova-plugin-contacts
Upvotes: 0
Reputation: 66
After installing dependencies you need to sync
ionic cap sync
then run your project. you see no error and successfully run
for more info about this plugin click here
Upvotes: 0
Reputation: 324
I think u have to use this one now:
https://github.com/capacitor-community/contacts
https://www.npmjs.com/package/@capacitor-community/contacts
Upvotes: 1
Reputation: 374
According to the cordova-contacts-plugin repo here, the cordova-contacts-plugin is deprecated since Nov 27, 2017.
As there is deprecation notice on it's npm repository.
The plugin that is currently in the ionic docs is abandoned but it seems like ionic docs is not updated since then.
Upvotes: 0