winston-logstash and npm v3.3.5 result in 'Unmet Peer Dependency'
gloddy opened this issue · 3 comments
gloddy commented
After updating to npm v3.3.5, I get the following when trying to npm install
a package.json that includes "winston-logstash": "^0.2.11"
└── UNMET PEER DEPENDENCY winston@>=0.7.3
npm ERR! peer dep missing: winston@>=0.7.3, required by winston-logstash@0.2.11
cjsaylor commented
@gloddy npm changed how the peer dependencies work. They are no longer installed when declared and are up to the end user to include them in the dependencies list.
To resolve, you'll need to include winston
in your package.json
. See the peerDependencies
section in the documentation: https://docs.npmjs.com/files/package.json#peerdependencies
gloddy commented
Much thanks. Catching up on the npm v3 stuff.