Skip to content

Bug: specifying location of multi-entry app entrypoint fails #131

@davekiss

Description

@davekiss

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Generating a multi-entry app via webpack-cli init errors out on step three, when prompted to enter the location of the first entry point.

If the current behavior is a bug, please provide the steps to reproduce.

webpack-cli init

? Will you be creating multiple bundles? Yes
? Type the name you want for your modules (entry files), seperated by comma admin.js, app.js
? What is the location of 'admin.js'? src

(node:64251) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: n[val].charAt is not a function
(node:64251) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What is the expected behavior?

Input is accepted as valid

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.

webpack-cli -v
1.3.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions