Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CLI doesn't work locally installed

Open
#127 4 comments 0 reactions 0 assignees View on GitHub

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:

  1. Don't have donejs installed globally.
  2. Install in a project locally without -g option (can do --save-dev)
  3. run npx donejs this should work.
  4. run npx donejs generate component this 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from donejs/cli

All issues in donejs/cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.