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

Running lerna-wizard after install returns error #6

Closed
omonk opened this issue Mar 6, 2017 · 6 comments
Closed

Running lerna-wizard after install returns error #6

omonk opened this issue Mar 6, 2017 · 6 comments

Comments

@omonk
Copy link

omonk commented Mar 6, 2017

I've installed lerna with npm i lerna@prerelease -g and npm i lerna-wizard -g as stated in the docs. Running lerna-wizard after install returns env: node\r: No such file or directory

@webuniverseio
Copy link
Owner

Hi @omonk. I'll look into your problem soon, and in meantime can you provide details about your setup: OS, version of node & npm you use, full error stack details, screenshot of the problem.

Thanks!

@omonk
Copy link
Author

omonk commented Mar 6, 2017

Hey @szarouski, of course

macOS 10.12.2

Node: v6.9.4
npm: 3.10.10

No full error stack, just this one error

image

@kristianmandrup
Copy link

I had the same problem. It's an OS linebreak error DOS to *Nix/Mac /r as described here

@kristianmandrup
Copy link

$ perl -MCwd -le 'print Cwd::abs_path(shift)' "/usr/local/bin/lerna-wizard"
/usr/local/lib/node_modules/lerna-wizard/bin/lerna-wizard

$ brew install dos2unix
$ sudo dos2unix /usr/local/lib/node_modules/lerna-wizard/bin/lerna-wizard
dos2unix: converting file /usr/local/lib/node_modules/lerna-wizard/bin/lerna-wizard to Unix format...

$ lerna-wizard
? What do you want to do? (Use arrow keys)

Sweet :)

@webuniverseio
Copy link
Owner

Thanks @kristianmandrup for looking into that. I reproduced the error on debian, so hopefully soon I'll fix it.

@webuniverseio
Copy link
Owner

@omonk , @kristianmandrup thanks for contribution. Problem should be resolved in 1.0.9. Please update and let me know if you run into issues.

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

3 participants