Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bower and karama-requirejs versions are incorrect, which make "npm install" failed #28

Open
mkatsoho opened this issue Jul 8, 2015 · 0 comments

Comments

@mkatsoho
Copy link

mkatsoho commented Jul 8, 2015

env

mk@mk-xiaoblack:/dev/karma_trial/angularjs-seed-repo$ npm -v
2.12.1
mk@mk-xiaoblack:
/dev/karma_trial/angularjs-seed-repo$ node -v
v0.12.2

fix

mk@mk-xiaoblack:~/dev/karma_trial/angularjs-seed-repo$ git diff
diff --git a/package.json b/package.json
index 13cfacf..733e6ef 100644
--- a/package.json
+++ b/package.json
@@ -14,13 +14,13 @@
"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-concat": "~0.3.0",
"grunt-open": "~0.2.2",

  • "bower": "~1.2.6",
  • "bower": "~1.3.6",
    "karma-script-launcher": "~0.1.0",
    "karma-firefox-launcher": "~0.1.0",
    "karma-chrome-launcher": "~0.1.0",
    "karma-html2js-preprocessor": "~0.1.0",
    "karma-jasmine": "~0.1.3",
  • "karma-requirejs": "~0.1.0",
  • "karma-requirejs": "~0.2.0",
    "karma-coffee-preprocessor": "~0.1.0",
    "karma-phantomjs-launcher": "~0.1.0",
    "karma-coverage": "~0.1.0",

reason/issue - 1 - bower 1.2.6 has bug when "bower install", uses 1.3.6 instead

refer to bower/bower#1403

reason/issue - 2 - [email protected] need karma-requirejs 0.2.0, instead of 0.1.0

error msg
mk@mk-xiaoblack:~/dev/karma_trial/angularjs-seed-repo$ npm install
npm WARN package.json [email protected] No repository field.

npm WARN package.json [email protected] No license field.

[email protected] postinstall /home/mk/dev/karma_trial/angularjs-seed-repo
node ./node_modules/bower/bin/bower install

npm ERR! Linux 3.13.0-44-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.12.1
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package karma-requirejs does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants karma-requirejs@~0.2.0

npm ERR! Please include the following file with any support request:
npm ERR! /home/mk/dev/karma_trial/angularjs-seed-repo/npm-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant