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

Running webpack after adding this plugin leads to endless loop #84

Open
folmert opened this issue Nov 24, 2016 · 0 comments
Open

Running webpack after adding this plugin leads to endless loop #84

folmert opened this issue Nov 24, 2016 · 0 comments

Comments

@folmert
Copy link

folmert commented Nov 24, 2016

After I installed this plugin and added it to my webpack.config.js:

plugins:   [
        new NpmInstallPlugin(),
]

it tries to reinstall webpack over and over and doesn't stop:

C:\sites\YDR\branches\refactoring\development>webpack
Installing babel-loader...
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] requires a peer of webpack@>=1.3.0 <3 but none was installed.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
Installing peerDependencies...
Installing [email protected]...
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] requires a peer of webpack@>=1.3.0 <3 but none was installed.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
Installing peerDependencies...
Installing [email protected]...
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] requires a peer of webpack@>=1.3.0 <3 but none was installed.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
(....and it goes on and on....)

I assume it's because I'm including webpack at the beginning of my config?

var webpack = require('webpack');
var autoprefixer = require('autoprefixer');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var NpmInstallPlugin = require('npm-install-webpack-plugin');
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