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

npm install with problem with karma perrdependencies #9

Open
sauloonze opened this issue Jul 11, 2014 · 2 comments
Open

npm install with problem with karma perrdependencies #9

sauloonze opened this issue Jul 11, 2014 · 2 comments

Comments

@sauloonze
Copy link

I am try to install the adminjs in my mac. The error appear after I run: $npm install

5048 info postinstall adminjs@0.0.1
5049 info prepublish adminjs@0.0.1
5050 error peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
5050 error peerinvalid Peer grunt-karma@0.5.4 wants karma@~0.9.4 || ~0.10
5050 error peerinvalid Peer karma-qunit@0.0.3 wants karma@~0.9
5050 error peerinvalid Peer karma-coverage@0.0.5 wants karma@>=0.9
5050 error peerinvalid Peer karma-phantomjs-launcher@0.0.3 wants karma@>=0.9
5050 error peerinvalid Peer karma-safari-launcher@0.0.3 wants karma@~0.9
5050 error peerinvalid Peer karma-chrome-launcher@0.1.4 wants karma@>=0.9.3
5050 error peerinvalid Peer karma-firefox-launcher@0.1.3 wants karma@>=0.9
5050 error peerinvalid Peer karma-html2js-preprocessor@0.1.0 wants karma@>=0.9
5050 error peerinvalid Peer karma-jasmine@0.1.5 wants karma@>=0.9
5050 error peerinvalid Peer karma-requirejs@0.2.2 wants karma@>=0.9
5050 error peerinvalid Peer karma-script-launcher@0.1.0 wants karma@>=0.9
5050 error peerinvalid Peer karma-coffee-preprocessor@0.2.1 wants karma@>=0.11.14
5051 error System Darwin 13.2.0
5052 error command "/usr/local/Cellar/node/0.10.26/bin/node" "/usr/local/bin/npm" "install"
5053 error cwd /Users/saulo/source/gentleman/adminjs
5054 error node -v v0.10.26
5055 error npm -v 1.4.3
5056 error code EPEERINVALID
5057 verbose exit [ 1, true ]

@latentstops
Copy link

I have this errors on Centos 7 64bit

[UltraNumb@localhost adminjs-master]$ npm install
npm http GET https://registry.npmjs.org/karma-phantomjs-launcher
npm http GET https://registry.npmjs.org/karma-safari-launcher
npm http 304 https://registry.npmjs.org/karma-phantomjs-launcher
npm http 304 https://registry.npmjs.org/karma-safari-launcher
npm WARN package.json karma-safari-launcher@0.0.3 No README.md file found!
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: karma-safari-launcher@0.0.3
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64

npm ERR! System Linux 3.10.0-123.el7.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/UltraNumb/Downloads/adminjs-master
npm ERR! node -v v0.10.4
npm ERR! npm -v 1.2.18
npm ERR! code EBADPLATFORM
npm http GET https://registry.npmjs.org/phantomjs
npm http 304 https://registry.npmjs.org/phantomjs
npm http GET https://registry.npmjs.org/adm-zip/0.2.1
npm http GET https://registry.npmjs.org/kew
npm http GET https://registry.npmjs.org/ncp/0.4.2
npm http GET https://registry.npmjs.org/npmconf/0.0.24
npm http GET https://registry.npmjs.org/progress
npm http GET https://registry.npmjs.org/mkdirp/0.3.5
npm http GET https://registry.npmjs.org/request/2.36.0
npm http GET https://registry.npmjs.org/request-progress
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/adm-zip/0.2.1
npm http 304 https://registry.npmjs.org/mkdirp/0.3.5
npm http 304 https://registry.npmjs.org/kew
npm http 304 https://registry.npmjs.org/request/2.36.0
npm http 304 https://registry.npmjs.org/request-progress
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/npmconf/0.0.24
npm http 304 https://registry.npmjs.org/ncp/0.4.2
npm http 304 https://registry.npmjs.org/progress
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/UltraNumb/Downloads/adminjs-master/npm-debug.log
npm ERR! not ok code 0

//
//------------------------------------------------
//
and this on Windows 8.1 64bit

D:\Downloads\Installations\adminjs-master>npm install
npm WARN package.json grunt-contrib-connect@0.3.0 No README data
npm WARN package.json karma-chrome-launcher@0.1.4 No README data
npm WARN package.json karma-coffee-preprocessor@0.2.1 No README data
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: karma
-safari-launcher@0.0.3
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd D:\Downloads\Installations\adminjs-master
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code EBADPLATFORM
/

contextify@0.1.8 install D:\Downloads\Installations\adminjs-master\node_module
s\grunt-emblem\node_modules\jsdom\node_modules\contextify
node-gyp rebuild

D:\Downloads\Installations\adminjs-master\node_modules\grunt-emblem\node_modules
\jsdom\node_modules\contextify>node "C:\Program Files\nodejs\node_modules\npm\bi
n\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:64:11
gyp ERR! stack at Object.oncomplete (fs.js:107:15)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Downloads\Installations\adminjs-master\node_modules\grunt-emblem
\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\Downloads\Installations\adminjs-master\npm-debug.log
npm ERR! not ok code 0

@tpanagos
Copy link

tpanagos commented Sep 8, 2014

A quick and dirty work-around is to strip-out the karma dependencies from the package.json file. Tests will not run but you can run the app.

"devDependencies": {
"grunt-contrib-connect": "~0.3.0",
"grunt": "~0.4.1",
"grunt-contrib-watch": "~0.4.4",
"grunt-contrib-copy": "~0.4.1",
"grunt-es6-module-transpiler": "~0.4.1",
"glob": "~3.2.1",
"matchdep": "~0.1.2",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-clean": "~0.4.1",
"grunt-contrib-jshint": "~0.6.0",
"grunt-usemin": "~0.1.12",
"grunt-contrib-uglify": "~0.2.2",
"grunt-rev": "~0.1.0",
"grunt-ember-templates": "0.4.10",
"string": "1.4.0",
"lockfile": "
>0.3.0",
"grunt-contrib-stylus": "~0.6.0",
"grunt-emblem": "~0.1.0",
"grunt-ember-script": "0.0.1",
"connect-livereload": "~0.2.0"
}

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

3 participants