grunt-coveralls icon indicating copy to clipboard operation
grunt-coveralls copied to clipboard

unable to install

Open pdipietro opened this issue 10 years ago • 2 comments

Hi, I just followed your instruction but it fails for a couple of problems but it fails: it doesn't like lodash, and components ask for different grunt version. ANy idea? TIA

~/testProject$ sudo npm install lodash@'~2.4.1' -g [email protected] /usr/local/lib/node_modules/lodash ~/testProject$ sudo npm install grunt-coveralls --save-dev npm WARN unmet dependency /home/pdipietro/testProject/node_modules/sails-disk/node_modules/waterline-cursor requires lodash@'~2.4.1' but will load npm WARN unmet dependency undefined, npm WARN unmet dependency which is version undefined npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.1 npm ERR! peerinvalid Peer [email protected] wants grunt@^0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.0 npm ERR! peerinvalid Peer [email protected] wants grunt@~0.4.5

npm ERR! System Linux 3.13.0-39-generic npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "grunt-coveralls" "--save-dev" npm ERR! cwd /home/pdipietro/testProject npm ERR! node -v v0.13.0-pre npm ERR! npm -v 1.4.28 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pdipietro/testProject/npm-debug.log npm ERR! not ok code 0

pdipietro avatar Nov 07 '14 15:11 pdipietro

Sorry for the delay on this.

I'm not totally clear what's going here. The lodash warning doesn't seem to be related to this library at all (it's complaining about a missing lodash dependency for sails-disk, which is nothing to do with this).

The grunt errors are then complaining about your grunt version, but I think it's complaining that your currently installed version of grunt doesn't match the peer dependencies for a whole bunch of modules, not just grunt-coveralls. Do you have any idea what version of the grunt package you do have installed? It looks like 0.4.5 would be a good choice that should satisfy all of these.

pimterry avatar Nov 18 '14 08:11 pimterry

I got these grunt installed $ grunt -version grunt-cli v0.1.13 grunt v0.4.5

pdipietro avatar Nov 18 '14 09:11 pdipietro