webpack-contrib / install-webpack-plugin

Speed up development by automatically installing & saving dependencies with Webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin using incorrect version numbers to package.json

vamsiampolu opened this issue · comments

I use npm-install-webpack-plugin with the .npmrc and it installs all my modules, generating this package.json.

When I clone the repo and npm install, I am getting a lot of issues that look like:

npm i
npm WARN deprecated babel@6.5.2: Babel's CLI commands have been moved from the babel package to the babel-cli package
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/home/vamsi/.nvm/v6.2.0/bin/node" "/home/vamsi/.nvm/v6.2.0/bin/npm" "i"
npm ERR! node v6.2.0
npm ERR! npm  v3.8.9

npm ERR! No compatible version found: babel-eslint@^7.1.0
npm ERR! Valid install targets:
npm ERR! 6.0.4, 6.0.3, 6.0.2, 6.0.1, 6.0.0, 6.0.0-beta.6, 6.0.0-beta.5, 6.0.0-beta.4, 6.0.0-beta.3, 6.0.0-beta.2, 6.0.0-beta.1, 5.0.4, 5.0.3, 5.0.2, 5.0.1, 5.0.0, 5.0.0-beta9, 5.0.0-beta8, 5.0.0-beta7, 5.0.0-beta6, 5.0.0-beta5, 5.0.0-beta4, 5.0.0-beta3, 5.0.0-beta2, 5.0.0-beta10, 5.0.0-beta1, 4.1.8, 4.1.7, 4.1.6, 4.1.5, 4.1.4, 4.1.3, 4.1.2, 4.1.1, 4.1.0, 4.0.10, 4.0.9, 4.0.8, 4.0.7, 4.0.6, 4.0.5, 4.0.4, 4.0.3, 4.0.2, 4.0.1, 4.0.0, 3.1.30, 3.1.29, 3.1.28, 3.1.27, 3.1.26, 3.1.25, 3.1.24, 3.1.23, 3.1.22, 3.1.21, 3.1.20, 3.1.19, 3.1.18, 3.1.17, 3.1.16, 3.1.15, 3.1.14, 3.1.13, 3.1.12, 3.1.11, 3.1.10, 3.1.9, 3.1.8, 3.1.7, 3.1.6, 3.1.5, 3.1.4, 3.1.3, 3.1.1, 3.1.0, 3.0.1, 3.0.0, 2.0.2, 2.0.0, 1.0.14, 1.0.13, 1.0.12, 1.0.11, 1.0.10, 1.0.9, 1.0.8, 1.0.7, 1.0.6, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0
npm ERR! 

I resolved the issue, it looks I was using node v7.1.0 before and had switched to v7.0.0 without realizing it.
I did not know that there were major changes between those two versions of node.