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

'cordova-plugin-mlkit-barcode-scanner' is not in the npm registry. #8

Open
BartBakker82 opened this issue Aug 31, 2021 · 1 comment

Comments

@BartBakker82
Copy link

I'm unable to re-install this plugin in my project. All of a sudden my CI builds started to fail because of this plugin. I tried re-installing the plugin but the command cordova plugin add cordova-plugin-mlkit-barcode-scanner failed with the following error:

{
"error": {
"code": "E404",
"summary": "'cordova-plugin-mlkit-barcode-scanner' is not in the npm registry.\nYou should bug the author to publish it\n(or use the name yourself!)\n\nNote that you can also install from a\ntarball, folder, http url, or git url.",
"detail": "\n 'cordova-plugin-mlkit-barcode-scanner@latest' is not in the npm registry.\nYou should bug the author to publish it (or use the name yourself!)\n\nNote that you can also install from a\ntarball, folder, http url, or git url."
}
}

@flobiwankenobi
Copy link

Sorry for the late answer. This plugin is currently not available as module via npm.

There are two options:

  1. Until 2.1.2 you can just add this repository to your project like this: cordova plugin add https://github.com/MobisysGmbH/cordova-plugin-mlkit-barcode-scanner.git#2.1.2
  2. Since 2.1.3 the project is based on typescript and has to be build, before you can use it.

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

No branches or pull requests

2 participants