Closed matt-mcdaniel closed 8 years ago
Yeah, Webpack 2 is still beta. Your going to need to use npm version 3 to get around these warnings for now. Good luck!
Cool, good to know npm 3+ will fix the problem. Thanks for the insight!
@kentcdodds Well, I'm running node 4.4.0
and npm 3.8.1
and still there are install errors:
carles:code [git|master:7ebe1bd]
% → npm list --depth=0
/home/carles/Learning/Webpack/Courses/2016-egghead/webpack-production-js-apps/code
├── babel@6.5.2
├── babel-core@6.8.0
├── babel-eslint@6.0.4
├── babel-loader@6.2.4
├── babel-plugin-__coverage__@1.11.111
├── babel-preset-es2015-webpack@6.4.1
├── babel-preset-stage-2@6.5.0
├── chai@3.5.0
├── cpy-cli@1.0.0
├── css-loader@0.23.1
├── eslint@2.9.0
├── eslint-config-kentcdodds@6.2.1
├── eslint-loader@1.3.0
├── ghooks@1.2.1
├── istanbul@0.4.3
├── karma@0.13.22
├── karma-chai@0.1.0
├── karma-chrome-launcher@1.0.1
├── karma-coverage@1.0.0
├── karma-mocha@1.0.1
├── karma-webpack@1.7.0
├── mocha@2.5.3
├── npm-run-all@1.8.0
├── opt-cli@1.4.2
├── rimraf@2.5.2
├── style-loader@0.13.1
├── todomvc-app-css@2.0.4
├── todomvc-common@1.0.2
├── UNMET PEER DEPENDENCY webpack@2.1.0-beta.12
├── webpack-dev-server@2.0.0-beta
└── webpack-validator@2.1.2
npm ERR! peer dep missing: webpack@^1.4.0, required by karma-webpack@1.7.0
npm ERR! peer dep missing: webpack@>=2.0.3-beta <3, required by webpack-dev-server@2.0.0-beta
Any ideas?
You'll see warnings on install, but there should not be errors to prevent you from running the scripts... are you unable to build/test
@kentcdodds Yes, I am. No webpack module installed. Is it a dependency version conflict?
Could you try explicitly installing it: npm install webpack@2.1.0-beta.12
?
I did a fresh clone of the repo and ran
npm install
and and getting peer dependency errors with regard tobabel-loader
,karma-webpack
, andwebpack-dev-server
.Running npm 2.14.20 and node 4.4.0.