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 add plugin to cordova #18

Open
maximepriv opened this issue Jan 18, 2018 · 9 comments
Open

Can't add plugin to cordova #18

maximepriv opened this issue Jan 18, 2018 · 9 comments

Comments

@maximepriv
Copy link

Hi!

Whenever I try to add the plugin to my project using one of the two methods below, nothing happens (no error and no plugin added).

cordova plugin add de.fhg.fokus.famium.presentation
cordova plugin add https://github.com/fraunhoferfokus/cordova-plugin-presentation.git

Any idea ?

screenshot

Thanks for your help!

@rodolv-commons
Copy link

Hello @maximepriv, thanks for the message. Did you resolve it?

@rodolv-commons
Copy link

Dear all,
If I do cordova plugin add de.fhg.fokus.famium.presentation, I get the following:

withregistry

If I do directly pointing to the repo cordova plugin add https://github.com/fraunhoferfokus/cordova-plugin-presentation.git, I get the following:

repodirect

Anyone can help with that?
Many thanks!

@louaybassbouss
Copy link
Contributor

Can you please give more details about Platform, OS Version, Cordova Version? did you tried to add the plugin in your App or in the Reference Hello World App http://fraunhoferfokus.github.io/cordova-plugin-presentation-helloapp/

@helpbox
Copy link

helpbox commented Jul 3, 2018

Maybe this help.

Download the zip and unzip it.
https://github.com/fraunhoferfokus/cordova-plugin-presentation-helloapp/zipball/master

Install plugman.
npm install -g plugman

Go to the "fraunhoferfokus-cordova-plugin-presentation-439d62d" folder.

Create the package.json file for the plugin.
plugman createpackagejson "fraunhoferfokus-cordova-plugin-presentation-439d62d

Go to your app folder and do a cordova add plugin.
cordova plugin add "fraunhoferfokus-cordova-plugin-presentation-439d62d"

@kapilrc
Copy link

kapilrc commented Aug 9, 2019

You can specify the repo url as

cordova plugin add https://github.com/fraunhoferfokus/cordova-plugin-presentation.git --nofetch
This worked for me.

@zhangzsan
Copy link

Go to the directory where the file is and execute the npm init command to generate the package.json file

@jmoniatte
Copy link

I was struggling with the same issue as @maximepriv. This worked for me:

$ cordova plugin add cordova-plugin-presentation

@ayubUOL
Copy link

ayubUOL commented Jan 29, 2020

How to import this plugin as module ? Anyone !

@zhangv
Copy link

zhangv commented Aug 17, 2024

  1. download the zip file with source and unzip it to a local folder
  2. the package.json is missing, you can just copy from somewhere and make the "id" correct.
  3. run command: cordova plugin add [path of the folder]

This works for me.

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

9 participants