MobisysGmbH / cordova-plugin-mlkit-barcode-scanner

A Cordova barcode scanning plugin based on the Google Mobile Vision library for iOS & Android.
MIT License
19 stars 22 forks source link

Unable to install packages #10

Open BartBakker82 opened 2 years ago

BartBakker82 commented 2 years ago

Hello,

I wanted to try the new version of your plugin, that's written in typescript. I've cloned the repo and tried to install the deps with npm i. This gives me an error:

npm ERR! code E401 npm ERR! Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/af9cdc44-a63a-4e57-9225-1ba61801a9ab, Basic realm="https://pkgsprodsu3weu.app.pkgs.visualstudio.com/", TFS-Federated

After digging in, I found the .npmrc file. This points to https://pkgs.dev.azure.com/mobisysgmbh/_packaging/mobisys/npm/registry/ which is probably a private repo I can't access.

Is this repo meant as open source project?

Thanks in advance for your anwer.

Kind regards,

Bart Bakker

fmendoza commented 2 years ago

Hello,

I wanted to try the new version of your plugin, that's written in typescript. I've cloned the repo and tried to install the deps with npm i. This gives me an error:

npm ERR! code E401 npm ERR! Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/af9cdc44-a63a-4e57-9225-1ba61801a9ab, Basic realm="https://pkgsprodsu3weu.app.pkgs.visualstudio.com/", TFS-Federated

After digging in, I found the .npmrc file. This points to https://pkgs.dev.azure.com/mobisysgmbh/_packaging/mobisys/npm/registry/ which is probably a private repo I can't access.

Is this repo meant as open source project?

Thanks in advance for your anwer.

Kind regards,

Bart Bakker

Did you were able to find a workaround for your issue?

BartBakker82 commented 2 years ago

Not yet. But it seems that the private packages are all ts configs / linting rules. I think that these packages can be deleted from package.json. Also delete the .npmrc file. Then try to transpile with "npm run transpile".