Skip to content

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

@derekaug

Description

@derekaug

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions