`yalc publish` fails with error `bob: command not found`
See original GitHub issueDescribe the bug
Not entirely clear from the Contributing guidelines, but I went ahead and downloaded stripe-react-native as a zip file, unarchived it, cd’d into the folder, then ran yalc publish and got error /bin/sh: bob: command not found
To Reproduce Steps to reproduce the behavior:
- Download this package
- Unarchive
- cd package-name
yalc publish
Expected behavior Package should be building locally
Desktop (please complete the following information):
- OS: macOS 11.3
- Browser irrelevant
- Version of what?
Additional context I’m normally using zsh, which is the default shell cli for mac now, not sure if that is relevant, though.
I tried installing bob using this doc using python3 -m pip install BobBuildTool [--user] but it failed with another error zsh: no matches found: [--user], tried replacing user with my actual username, failed with the same error, tried ommitting [--user] altogether, failed again with no previously-included directories found matching 'docs/_build'.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Related StackOverflow Question
I’m not able to reproduce this. Did you make sure to run
yarn bootstrapbefore runningyalc publish?ok, yes, I downloaded this package to a separate folder (anywhere on my file system I guess it’s ok because yalc takes care of publishing it in a folder from where it’s going to take it when I used
yalc add), didyarn bootstrapand the rest worked fine, thank you.