Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Update peerDependencies for webpack2 #168

Closed
ju1ius opened this issue Mar 21, 2016 · 5 comments
Closed

Update peerDependencies for webpack2 #168

ju1ius opened this issue Mar 21, 2016 · 5 comments

Comments

@ju1ius
Copy link

ju1ius commented Mar 21, 2016

Hi,
although the plugin works quite well with webpack2.1.0-beta4, it specifies a peerDependency to webpack 1, causing CI build to fail:

npm ERR! peerinvalid Peer extract-text-webpack-plugin@1.0.1 wants webpack@^1.9.11
@timbru31
Copy link

Running into the same issue, the ExtractTextPlugin works fine though.

@amio
Copy link

amio commented Mar 28, 2016

There is a PR #157 already, but nobody merge it yet.

@amio
Copy link

amio commented Mar 28, 2016

Acturally PR #147 may solve this too.

@Jessidhia
Copy link
Contributor

This also complicates use with npm 2 -- installing extract-text-webpack-plugin will "update" webpack@^2.1.0-beta into one that matches the peerDependency.

@sokra sokra closed this as completed in f89c009 Jul 15, 2016
@developer94404
Copy link

just a note:

using npm 4.x on my system:

  1. on my system, installing using node v4.x fails, and gives:
    npm WARN peerDependencies The peer dependency webpack@^1.9.11 included from extract-text-webpack-plugin will no
    npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
    npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
    npm ERR! node v4.2.3
    npm ERR! npm v2.14.7
    npm ERR! code EPEERINVALID

  2. and then using node v7.x is successful, but gives:
    +-- extract-text-webpack-plugin@1.0.1
    `-- UNMET PEER DEPENDENCY webpack@2.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants