-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Hej there,
I’m trying to shrinkwrap a hapi project and I’m able to reproduce that issue with hapi as single dependency.
Steps to reproduce**
mkdir hapi-shrinkwrap
cd hapi-shrinkwrap
npm init -f
npm i hapi --save
npm shrinkwrapWhat was the result you received?
The following npm error:
npm ERR! invalid: have wreck@9.0.0 (expected: 8.x.x) /Users/mkuehnel/hapi-shrinkwrap/node_modules/hapi/node_modules/subtext/node_modules/wreck
npm ERR! extraneous: wreck@9.0.0 /Users/mkuehnel/hapi-shrinkwrap/node_modules/hapi/node_modules/subtext/node_modules/wreck
What did you expect?
That npm creates a npm-shrinkwrap.json file as described in the npm docs.
Context
- node version:
5.5.0as well as6.5.0 - hapi version:
15.1.0 - os: OS X
10.11.6 - npm version:
3.10.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugBug or defectBug or defect