Giter Club home page Giter Club logo

Comments (2)

latentstops avatar latentstops commented on June 18, 2024

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 [email protected] No README.md file found!
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
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 [email protected] No README data
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No README data
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: karma
[email protected]
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
/

[email protected] 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

from adminjs.

tpanagos avatar tpanagos commented on June 18, 2024

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"
}

from adminjs.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.