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

command not found: plugman #133

Open
3 tasks done
rimaad opened this issue Dec 2, 2020 · 4 comments
Open
3 tasks done

command not found: plugman #133

rimaad opened this issue Dec 2, 2020 · 4 comments

Comments

@rimaad
Copy link

rimaad commented Dec 2, 2020

Bug Report

Problem

What is expected to happen?

Plugman command not recognised after plugman help executed.

What does actually happen?

command not found: plugman

Information

I am planning to create plugin for Android and iOS after following steps from your documentation.

  • npm install -g plugman
  • After successfully installed try to run plugman help : "recived plugman command not found".

Tried with sudo same happening.

Command or Code

plugman help -> command not found.

Environment, Platform, Device

MacOS Catalina 10.15

Version information

Cordova 10.0.0
Plugman 3.0.0
MacOS Catalina 10.15.
Node v15.3.0

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@raphinesse
Copy link
Contributor

Please tell us, step by step, what you did to get that error.

@rimaad
Copy link
Author

rimaad commented Dec 3, 2020

Please tell us, step by step, what you did to get that error.

Steps added.

@breautek
Copy link
Contributor

breautek commented Dec 3, 2020

Using the provided steps I am unable to reproduce this in my environment, which includes:

Ubuntu 20.04
plugman 3.0.0 | 3.0.1
Node v12.19.0 | v15.3.0

@raphinesse
Copy link
Contributor

raphinesse commented Dec 4, 2020

I strongly doubt this has anything to do with Cordova. My best guess would be that the bin directory for your globally installed node_modules is not in your PATH.

Run which plugman to check. If necessary, add $(npm config get prefix)/bin to your PATH.

As a side note: I'm not sure how up-to-date the plugin code is, that would be generated by plugman. I think it does not even create a package.json by default (which is required by cordova). So maybe you are better off looking at an official plugin and replicating what you see there. That's just my personal opinion.

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

No branches or pull requests

3 participants