Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yalc publish throws an error #1

Closed
chrisbodhi opened this issue May 9, 2017 · 1 comment
Closed

yalc publish throws an error #1

chrisbodhi opened this issue May 9, 2017 · 1 comment

Comments

@chrisbodhi
Copy link

I realize that this is still in development, but I'm excited about the possibility of this tool greatly improving my team's workflow. Ran into this error when giving it a spin, though.

~/dependency ᐅ yalc publish
/bin/sh: yarn.lock: command not found
(node:67368) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Command failed: yarn.lock
/bin/sh: yarn.lock: command not found

Looks like the error could be on this line? https://github.com/whitecolor/yalc/blob/master/src/index.ts#L93
And if that's it, https://nodejs.org/api/fs.html#fs_fs_existssync_path might be helpful.

yalc version 1.0.0-pre.5
yarn version 0.23.2
node version 6.9.4
os x version 10.11.6

@wclr
Copy link
Owner

wclr commented May 9, 2017

Hi, glad that it may help, thanks for the report, it was kind of mistype exec vs exists =), should be fixed in the latest released!

@wclr wclr closed this as completed May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants