onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
242 stars 28 forks source link

Can't install on my mac: /Users/merlyn/.bashrc does not exists #48

Closed RandalSchwartz closed 3 years ago

RandalSchwartz commented 4 years ago

Describe the bug failure at dshell install

To Reproduce Steps to reproduce the behavior:

  1. 'pub global activate dshell'
  2. 'dshell install'
  3. error '/Users/merlyn/.bashrc does not exists'

Expected behavior I expected the install to continue to completion.

Screenshots If applicable, add screenshots to help explain your problem.

Run dshell doctor: From the cli run dshell doctor


dshell doctor             
dshell: Expected a script name instead found: doctor

For help with dshell options:
  dshell help | help <command>
    Displays the usage message | Display the command's usage message.```

**Smartphone (please complete the following information):**
 - Device: [e.g. iPhone6]
 - OS: [e.g. iOS8.1]
 - Browser [e.g. stock browser, safari]
 - Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
bsutton commented 4 years ago

Can you install the latest dev version and try again. I think I've fixed this.

On Sun, 26 Jan 2020, 1:10 pm Randal L. Schwartz, notifications@github.com wrote:

Describe the bug failure at dshell install

To Reproduce Steps to reproduce the behavior:

  1. 'pub global activate dshell'
  2. 'dshell install'
  3. error '/Users/merlyn/.bashrc does not exists'

Expected behavior I expected the install to continue to completion.

Screenshots If applicable, add screenshots to help explain your problem.

Run dshell doctor: From the cli run dshell doctor

dshell doctor dshell: Expected a script name instead found: doctor

For help with dshell options: dshell help | help Displays the usage message | Display the command's usage message.```

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bsutton/dshell/issues/48?email_source=notifications&email_token=AAG32OBSNHADPPK7VATRWK3Q7TWITA5CNFSM4KLUJ3V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IIXFPZQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG32ODO4KNHIWN6MMELUZDQ7TWITANCNFSM4KLUJ3VQ .

RandalSchwartz commented 4 years ago

How do I install "the latest dev version"? Does that require cloning the github? Or providing a different switch to activate?

bsutton commented 4 years ago

I've just released stable version with the changes. So you just need to do a global activate again

pub global activate dshell

On Thu, 30 Jan 2020 at 14:16, Randal L. Schwartz notifications@github.com wrote:

How do I install "the latest dev version"? Does that require cloning the github? Or providing a different switch to activate?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bsutton/dshell/issues/48?email_source=notifications&email_token=AAG32OBYKRPVX2YHDPV56C3RAJA73A5CNFSM4KLUJ3V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKJRNYQ#issuecomment-580064994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG32OFIFVTNWECKPWEID4DRAJA73ANCNFSM4KLUJ3VQ .

bsutton commented 4 years ago

Did you managed to get it installed?

bsutton commented 3 years ago

closing as I believe this is is now resolved. Please re-open if you are still having issues.