refi64 / vuedart

Create Vue web apps in Dart
https://refi64.com/vuedart
310 stars 19 forks source link

pub global activate vue2_cli #17

Closed magick93 closed 6 years ago

magick93 commented 6 years ago

Steps to reproduce

  1. Run pub global activate vue2_cli. This results in:

    
    Package vue2_cli is currently active at version 0.1.1.
    Resolving dependencies... (13.1s)
    + ansicolor 0.0.9 (0.1.0 available)
    + args 1.4.3
    + charcode 1.1.1
    + path 1.5.1
    + source_maps 0.10.5
    + source_span 1.4.0
    + vue2_cli 0.1.1
    Precompiling executables... 
    Precompiled vue2_cli:vuedart.
    Installed executable vuedart.
    Warning: Pub installs executables into ~/.pub-cache/bin, which is not on your path.
    You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):
    
    export PATH="$PATH":"~/.pub-cache/bin"

Activated vue2_cli 0.1.1.


2. I then add `export PATH="$PATH":"~/.pub-cache/bin"` to my `.bashrc` file and run `source ~/.bashrc`.
3. I then run `vuedart create my-dartproject`

## Result
I get `zsh: command not found: vuedart`.

## Other details

Pub 2.0.0-dev.55.0
refi64 commented 6 years ago

Hmm... What does echo "$PATH" say?

refi64 commented 6 years ago

Likely a PATH configuration issue... Closing due to inactivity.