Skip to content

"Reproductions" script fails on Mac #1536

@gihrig

Description

@gihrig

Just an FYI to be addressed by anyone interested...

Attempting to run the "Reproductions" script fails with sh: lerna: command not found

OS X 10.11.6 (up to date)

The reproductions script goes OK until the command npm run bootstrap. The result is:

Dev-Mac-WS:GraphQL-and-React glen$ git clone https://github.com/storybooks/storybook.git
Cloning into 'storybook'...
remote: Counting objects: 39165, done.
remote: Compressing objects: 100% (194/194), done.
remote: Total 39165 (delta 188), reused 190 (delta 109), pack-reused 38862
Receiving objects: 100% (39165/39165), 40.28 MiB | 5.32 MiB/s, done.
Resolving deltas: 100% (22629/22629), done.
Dev-Mac-WS:GraphQL-and-React glen$ cd storybook
Dev-Mac-WS:storybook glen$ npm run bootstrap

> [email protected] bootstrap /Users/glen/Documents/JavaScript/Research/GraphQL/GraphQL-and-React/storybook
> lerna bootstrap --concurrency 1 --npm-client="yarn" --hoist && node ./scripts/hoist-internals.js

sh: lerna: command not found

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "bootstrap"
npm ERR! node v7.10.1
npm ERR! npm  v4.2.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] bootstrap: `lerna bootstrap --concurrency 1 --npm-client="yarn" --hoist && node ./scripts/hoist-internals.js`
npm ERR! spawn ENOENT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions