chrisbraddock / node-cgmon Goto Github PK
View Code? Open in Web Editor NEWa utility intended to monitor and maximize uptime of cgminer under linux
a utility intended to monitor and maximize uptime of cgminer under linux
Trying to get this installed on a BAMT USB drive that I have running (8gb, so there should be plenty of room)
This is what i get when I try to do npm install.
root@bamt-miner:/home/user/Downloads/node-cgmon# npm install
npm WARN package.json node-cgmon@ No repository field.
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/reboot/0.0.1
npm http GET https://registry.npmjs.org/jsdom/0.8.10
npm http 304 https://registry.npmjs.org/jsdom/0.8.10
npm http 200 https://registry.npmjs.org/reboot/0.0.1
npm http GET https://registry.npmjs.org/reboot/-/reboot-0.0.1.tgz
npm http 200 https://registry.npmjs.org/reboot/-/reboot-0.0.1.tgz
> [email protected] install /home/user/Downloads/node-cgmon/node_modules/reboot
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack at install (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:65:16)
gyp ERR! stack at Object.self.commands.(anonymous function) [as install] (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:66:37)
gyp ERR! stack at getNodeDir (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:150:20)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:93:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:710:7)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:107:17)
gyp ERR! stack at maybeClose (child_process.js:982:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1049:5)
gyp ERR! System Linux 2.6.32-5-686
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/Downloads/node-cgmon/node_modules/reboot
gyp ERR! node -v v0.11.12-pre
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/nwmatcher
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/htmlparser2
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/nwmatcher
npm http 304 https://registry.npmjs.org/cssom
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the reboot 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 their info via:
npm ERR! npm owner ls reboot
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/aws-sign2
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/tough-cookie
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/hawk
> [email protected] install /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack at install (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:65:16)
gyp ERR! stack at Object.self.commands.(anonymous function) [as install] (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:66:37)
gyp ERR! stack at getNodeDir (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:150:20)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:93:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:710:7)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:107:17)
gyp ERR! stack at maybeClose (child_process.js:982:16)
gyp ERR! stack at Socket.<anonymous> (child_process.js:1132:11)
gyp ERR! stack at Socket.EventEmitter.emit (events.js:104:17)
gyp ERR! stack at Pipe.close (net.js:467:12)
gyp ERR! System Linux 2.6.32-5-686
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.11.12-pre
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/domhandler
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/domelementtype
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/async
npm ERR! Error: ENOENT, lstat '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream/transform.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream/transform.js
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream/transform.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! Error: ENOENT, lstat '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/domhandler/readme.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/domhandler/readme.md
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/domhandler/readme.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! EEXIST, mkdir '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/hawk'
File exists: /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/hawk
Move it away, and try again.
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/hawk
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/hawk/index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno -17
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! EEXIST, mkdir '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/cssstyle/lib/properties'
File exists: /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/cssstyle/lib/properties
Move it away, and try again.
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/cssstyle/lib/properties
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/cssstyle/lib/properties/letterSpacing.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno -17
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! Error: ENOENT, lstat '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! Error: ENOENT, lstat '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! Error: ENOENT, lstat '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! Error: ENOENT, lstat '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/http-signature/lib/parser.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/http-signature/lib/parser.js
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/http-signature/lib/parser.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm ERR! Error: ENOENT, lstat '/home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/mime/types/mime.types'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/user/Downloads/node-cgmon
npm ERR! node -v v0.11.12-pre
npm ERR! npm -v 1.4.3
npm ERR! path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/mime/types/mime.types
npm ERR! fstream_path /home/user/Downloads/node-cgmon/node_modules/jsdom/node_modules/request/node_modules/mime/types/mime.types
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:97:15)
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/user/Downloads/node-cgmon/npm-debug.log
npm ERR! not ok code 0
Since this program can also be used to monitor litecoin and other scrypt based coins the value for MHS should allow a decimal value. Such as .8 or .85.
Thanks
fix code around _.defaults() so selective email values in config.json don't eliminate needed email values ...
the json config file isn't valid, I resolved the issue by encapsulating the keys in quotes.
You also have duplicate key:value pairs in the config.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.