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

Can't install in MacOS 11 #6

Open
LousyJohnny opened this issue Jan 18, 2021 · 1 comment
Open

Can't install in MacOS 11 #6

LousyJohnny opened this issue Jan 18, 2021 · 1 comment

Comments

@LousyJohnny
Copy link

LousyJohnny commented Jan 18, 2021

I can't install the plugin using command line nor cordova build
It's weird because a few moments before, I was able to install it on a ubuntu laptop, build and test for the same App on a Android platform

I tried to remove "ios" directory, rebuild from scratch but same error

Here is the message log :

Discovered plugin "cordova-plugin-androidx-adapter". Adding it to the project
Installing "cordova-plugin-androidx-adapter" for ios
Adding cordova-plugin-androidx-adapter to package.json
Discovered plugin "cordova-plugin-cookieemperor". Adding it to the project
Failed to fetch plugin git+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.
CordovaError: CordovaError: Could not determine package name from output:
up to date, audited 1689 packages in 13s

9 low severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
[ERROR] An error occurred while running subprocess cordova.
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:140:43
    at processTicksAndRejections (node:internal/process/task_queues:93:5)

here"s the line in package.json
"cordova-plugin-cookieemperor": "git+https://github.com/RTK/cordova-cookie-emperor.git",

I don't know which other info could be useful

@RTK
Copy link
Owner

RTK commented Jan 19, 2021

As the output says it seems to be a connection problem, I don't think it comes from this plugin.

You can add the plugin via "cordova-plugin-cookieemperor": "RTK/cordova-cookie-emperor" (as described here https://medium.com/@jonchurch/use-github-branch-as-dependency-in-package-json-5eb609c81f1a)

You may want to checkout this fork https://github.com/nim901/cordova-cookie-emperor as you can install it via https://www.npmjs.com/package/cordova-plugin-cookieemperor-v1

"cordova-plugin-cookieemperor": "cordova-plugin-cookieemperor-v1"

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

2 participants