Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All plugins re-installation is broken due bad ID name in plugin.xml file #173

Open
phyr0s opened this issue Feb 15, 2024 · 0 comments
Open

Comments

@phyr0s
Copy link

phyr0s commented Feb 15, 2024

Description

When install plugin and remove the platforms/plugins folder and want to reinstall from package.json the reinstall fails

The problem is because npm search the @hmscore/cordova-plugin-hms-availability and the name of the plugin id is cordova-plugin-hms-availability so when you install in the package.json in the cordova plugin object it added as cordova-plugin-hms-availability

Force change @hmscore/cordova-plugin-hms-availability locally it didn't fix the issue because next reinstall cordova-plugin-hms-availability will appear again in the cordova.plugins object in the package json.

Basically there is not cordova-plugin-hms-availability package in NPM repository and fails because the name of repo is @hmscore/cordova-plugin-hms-availability

Happen with all plugins, all version of cordova, ionic etc....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant