0

Today I tried to install redux and I got bellow error

Having said that it's not only happening for redux.

C:\FE-Proj-Templates\webpack>npm i -D redux
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\Nodist\\v-x64\\4.5.0\\node.exe" "C:\\Program Files (x86)\\No
dist\\npmv\\2.15.9\\bin\\npm-cli.js" "i" "-D" "redux"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy it siblings' peerDependenci
es requirements!
npm ERR! peerinvalid Peer [email protected] wants webpack@1 || ^2.1.0-beta
npm ERR! peerinvalid Peer [email protected] wants webpack@^1.9.11
npm ERR! peerinvalid Peer [email protected] wants webpack@^1.12.6 || ^2.1.0 beta
npm ERR! peerinvalid Peer [email protected] wants webpack@>=2.0.3-beta <3
npm ERR! peerinvalid Peer [email protected] wants webpack@*

npm ERR! Please include the following file with any support request:
npm ERR!     C:\FE-Proj-Templates\webpack\npm-debug.log

I am using nodist node 4.5.0 and I was able to install packages few days ago.

Any idea what's the problem?

Negin Basiri
  • 1,305
  • 2
  • 26
  • 47

1 Answers1

0

It's fixed by installing and using npm3

npm install -g npm3
Negin Basiri
  • 1,305
  • 2
  • 26
  • 47