mongoose-shortid
mongoose-shortid copied to clipboard
can't install with node.js stable (v4.1.2) bignum version outdated
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