mongoose-shortid icon indicating copy to clipboard operation
mongoose-shortid copied to clipboard

can't install with node.js stable (v4.1.2) bignum version outdated

Open kuehn-sba opened this issue 9 years ago • 6 comments

Please update the latest bignum version and remove the peerDependencies of mongoose which is both outdated inside package.json.

remove: "peerDependencies": { "mongoose": ">= 3.5.0 < 4" },

update: "dependencies": { "bignum": "~0.11.0" }

..or better:

"dependencies": { "bignum": "latest" }

At time this is the only workaround to get my project installed: $ npm install mongoose-shortid --ignore-scripts $ cd node_modules/mongoose-shortid --> edit package.json and remove peerDependencies and update bignum version --> install mongoose-shortid package $ npm install $ cd ../.. --> now install the remaining packages of my project... $ npm install

kuehn-sba avatar Oct 07 '15 09:10 kuehn-sba