Skip to content

Cannot install webpack 4.0.0 using node 6.11.4 (current Ubuntu) #6579

@webmaster128

Description

@webmaster128

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

bug

What is the current behavior?

I cannot use the latest stable webpack with node v6.11.4 (version shipped with the current Ubuntu).

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

mkdir webpack-node-6.11.4 && cd webpack-node-6.11.4
yarn init -y
yarn add webpack --dev

this leads to

yarn add v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6.11.5".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

What is the expected behavior?

webpack can be installed

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, webpack version, and Operating System.

$ node --version
v6.11.4
$ yarn --version
1.3.2

Ubuntu 17.04 with nodejs installed from the packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions