`yalc publish` fails with error `bob: command not found`

See original GitHub issue

Describe 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:

  1. Download this package
  2. Unarchive
  3. cd package-name
  4. 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:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
thorsten-stripecommented, Apr 29, 2021

I’m not able to reproduce this. Did you make sure to run yarn bootstrap before running yalc publish?

0reactions
benomatiscommented, Apr 29, 2021

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), did yarn bootstrap and the rest worked fine, thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

`yalc publish` throws an error · Issue #1 - GitHub
Ran into this error when giving it a spin, though. ~/dependency ᐅ yalc publish /bin/sh: yarn.lock: command not found (node:67368) ...
Read more >
yalc - npm
When you run yalc publish in the package directory, it grabs only files that should be published to NPM and puts them in...
Read more >
Error while installing bob via pip on Ubuntu - Stack Overflow
I am trying to install bob in Ubuntu.
Read more >
Notes and Tips on Using yalc for Local Packages
Here are the commands I needed to learn ASAP: Initial Run: yalc publish in source package, yalc add {packageName} where testing / in ......
Read more >
Untitled
La parrandera el chaval mp3, Masjid al baqi springfield ma, Bitcoin linux folder, ... Labu erlenmeyer 250 ml, F8 not working for safe...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found