Open TheCherry opened 8 years ago
You may need to install bcrypt manually npm install bcrypt
Just fiddle around a bit. I think I had a similar error and got it working anyway.
Also this might be a typo in some install script?
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "instal"
It should be "install" should not it?
I get a bit further than that:
root@ragnarok:~/img.bi# npm run
Lifecycle scripts included in img.bi-server:
test
./node_modules/jshint/bin/jshint *.js backend/**/*.js frontend/**/*.js tests/**/*.js && ./node_modules/jsonlint/lib/cli.js -q package.json && ./node_modules/jsonlint/lib/cli.js -q config-fontello.json && ./node_modules/jsonlint/lib/cli.js -q frontend/languages.json && ./node_modules/jsonlint/lib/cli.js -q config.json && ./node_modules/jsonlint/lib/cli.js -q commands.json && ./node_modules/karma/bin/karma start karma.conf.js && ./node_modules/mocha/bin/mocha tests/backend/*.tests.js && node_modules/jscs/bin/jscs *.js backend/**/*.js frontend/**/*.js tests/**/*.js
prepublish
node ./scripts/generate-manpage.js
My npm
and node
versions are:
root@ragnarok:~/img.bi# npm -v
3.10.3
root@ragnarok:~/img.bi# node -v
v6.6.0
Any help is welcomed.
I've come a little bit closer to getting it working, but there's a problem with installing gulp-sharp
:
root@ragnarok:~/img.bi# npm install gulp-sharp
npm WARN deprecated sharp@0.12.2: CVE-2016-3714 https://github.com/lovell/sharp/issues/424
> sharp@0.12.2 install /root/img.bi/node_modules/gulp-sharp/node_modules/sharp
> node-gyp rebuild
ERROR: https://dl.bintray.com/lovell/sharp/libvips-8.2.0-lin.tar.gz status code 404
gyp: Call to 'LDD_VERSION="ldd (Debian GLIBC 2.19-18+deb8u7) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper." node -e "require('./binding').download_vips()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/img.bi/node_modules/gulp-sharp/node_modules/sharp
gyp ERR! node -v v6.6.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
img.bi-server@0.0.2 /root/img.bi
└── (empty)
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.17
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "gulp-sharp"
npm ERR! node v6.6.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! sharp@0.12.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.12.2 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sharp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs sharp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls sharp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/img.bi/npm-debug.log
npm ERR! code 1
ERROR: https://dl.bintray.com/lovell/sharp/libvips-8.2.0-lin.tar.gz status code 404
Have a look at the site, there is indeed no file. Maybe you need to contact the author of this package.
Hi,
My System:
say that there isn’t any package to install:
If I try to install it via the git directory, I get that Errors: