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

Input Redirection / Piping into 'npm init' command not working #19

Open
derekaug opened this issue Aug 7, 2014 · 1 comment
Open

Input Redirection / Piping into 'npm init' command not working #19

derekaug opened this issue Aug 7, 2014 · 1 comment

Comments

@derekaug
Copy link

derekaug commented Aug 7, 2014

I'm trying to write a setup script that automatically runs and fills out the npm init prompts. It appears something is causing npm init to crash when I get to the entry point for the entry point.

Using this sample input file: https://gist.github.com/derekaug/d3c7cfc1fa7e6538de0e

When I run npm init < sample_input or cat sample_input | npm init, npm init crashes when it hits the entry point. See example output here: https://gist.github.com/derekaug/c0c1ace1e828e4c83f27

@derekaug
Copy link
Author

derekaug commented Aug 7, 2014

I should add I'm on Mac OS X (10.9.4)

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

1 participant