CLI doesn't work locally installed
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, nodejs
- Domain
- cli
Research direction
Start by reproducing the local installation with npm install --save-dev and the two commands npx donejs and npx donejs generate component. Inspect the CLI entry point and how the locally installed package resolves its generator command. Done means the component-generation command completes instead of freezing when DoneJS is not installed globally.
Written by the indexing model from the issue text.
Description
I had many issues with global packages and nvm, so I started installing all packages locally with --save-dev such as donejs and running them using npx however, for some reason donejs is the only package that doesn't work when doing this.
Steps to reproduce:
- Don't have donejs installed globally.
- Install in a project locally without
-goption (can do--save-dev) - run
npx donejsthis should work. - run
npx donejs generate componentthis will not work. Just freezes.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from donejs/cli
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Override Generators Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
discussion question
Difficulty 5/5 Over a week Newbie friendliness 20/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1414 ·
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·