You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that when you install from github, gitlab, or a local project (using yarn add file:...) the dependency is added as a pure typescript project with no compiled javascript.
If you're doing this for local development purposes, I would suggest cloning the repo, building it, and then using yarn link to add the dependency to your project.
If you absolutely must import from github, you can update the bin/dev script to have ts-node not ignore the oclif plugins inside of node_modules, .e.g
Describe the bug
Installing a plugin from a Github/Gitlab manually or using the plugin-plugins doesn't work.
To Reproduce
Steps to reproduce the behavior:
Create a new Cli
npx oclif generate mynewcli
Add Github dependency (it is just a fork without any change)
yarn add https://github.com/rhumbertgz/plugin-commands.git
As result:
Screenshots
After running the --help the new "commands" command doesn't appear
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: