Skip to content

Unable to run commands after installing via Yarn #100

@ghost

Description

Installing Astrum with Yarn initially appears successful:

$ yarn global add astrum
yarn global v0.19.1
warning No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
success Installed "astrum@1.9.3" with binaries:
      - astrum
warning No license field
✨  Done in 19.23s.

However, attempting to astrum init results in the following:

$ astrum init ./pattern-library
astrum-init(1) does not exist, try --help

If I reinstall with npm install -g astrum, I'm able to run astrum init as expected. It looks like there was a similar issue found (and fixed) in Vue.js here: vuejs/vue-cli#206

I tried replicating the fix described in the referenced PR to no avail.

Your environment

Platform: OS X
OS Version: 10.11.5
Node Version: v6.3.0
NPM Version: N/A
Astrum Version: 1.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions