Mineos-Node install problem


#1

I copied and pasted the instructions as root so I know I didn’t make a typo. unfortunately the buffer in my SSH client wasn’t sufficient to contain the entire install process. so this is all I have for you. I’m not sure what the problem is. but here is as much of the install process as I have. mineos appears to not be installed when finished. it doesn’t require a restart does it?

npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/deep-is
npm http 200 https://registry.npmjs.org/mime-db/-/mime-db-1.12.0.tgz
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/charm
npm http 200 https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/abbrev/-/abbrev-1.0.7.tgz
npm http 304 https://registry.npmjs.org/deep-is
npm http 304 https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/address
npm http 304 https://registry.npmjs.org/bunker
npm http 200 https://registry.npmjs.org/abbrev/-/abbrev-1.0.7.tgz
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http 200 https://registry.npmjs.org/commander
npm http 200 https://github.com/component/global/archive/v2.0.1.tar.gz
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/asn1/0.1.11
npm http GET https://registry.npmjs.org/ctype/0.5.3
npm http GET https://registry.npmjs.org/chalk
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
npm http GET https://registry.npmjs.org/is-my-json-valid
npm http GET https://registry.npmjs.org/bluebird
npm http GET https://registry.npmjs.org/burrito
npm http 200 https://registry.npmjs.org/address
npm http GET https://registry.npmjs.org/address/-/address-0.0.3.tgz
npm http 200 https://registry.npmjs.org/chalk

ws@0.4.31 install /usr/games/minecraft/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

npm http 304 https://registry.npmjs.org/ctype/0.5.3
npm http 304 https://registry.npmjs.org/is-my-json-valid
npm http 304 https://registry.npmjs.org/asn1/0.1.11
npm http 304 https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
make: Entering directory /usr/games/minecraft/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o npm http 304 https://registry.npmjs.org/burrito npm http 200 https://registry.npmjs.org/bluebird npm http GET https://registry.npmjs.org/bluebird/-/bluebird-2.9.27.tgz npm http 304 https://registry.npmjs.org/sntp npm http 200 https://registry.npmjs.org/address/-/address-0.0.3.tgz npm http 304 https://registry.npmjs.org/boom npm http 304 https://registry.npmjs.org/hoek npm http 304 https://registry.npmjs.org/cryptiles SOLINK_MODULE(target) Release/obj.target/bufferutil.node SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o npm http GET https://registry.npmjs.org/uglify-js npm http 200 https://registry.npmjs.org/bluebird/-/bluebird-2.9.27.tgz SOLINK_MODULE(target) Release/obj.target/validation.node SOLINK_MODULE(target) Release/obj.target/validation.node: Finished COPY Release/validation.node make: Leaving directory/usr/games/minecraft/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build’
npm http 200 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/escape-string-regexp
npm http GET https://registry.npmjs.org/has-ansi
npm http GET https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/graceful-readlink
npm http GET https://registry.npmjs.org/generate-function
npm http GET https://registry.npmjs.org/generate-object-property
npm http GET https://registry.npmjs.org/jsonpointer
npm http 304 https://registry.npmjs.org/has-ansi
npm http 304 https://registry.npmjs.org/escape-string-regexp
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/graceful-readlink
npm http 304 https://registry.npmjs.org/generate-object-property
npm http 304 https://registry.npmjs.org/generate-function
npm http 200 https://registry.npmjs.org/jsonpointer
npm http GET https://registry.npmjs.org/is-property
npm http 304 https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/get-stdin
npm http 304 https://registry.npmjs.org/is-property
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 200 https://registry.npmjs.org/get-stdin
npm http 304 https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/bytes
npm http GET https://registry.npmjs.org/compressible/1.0.0
npm http GET https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http 304 https://registry.npmjs.org/bytes
npm http 304 https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/scmp
npm http GET https://registry.npmjs.org/parseurl/1.0.1
npm http GET https://registry.npmjs.org/uid2
npm http GET https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/negotiator/0.4.2
npm http 304 https://registry.npmjs.org/cookie/0.1.0
npm http 304 https://registry.npmjs.org/compressible/1.0.0
npm http 304 https://registry.npmjs.org/uid2
npm http 304 https://registry.npmjs.org/scmp
npm http GET https://registry.npmjs.org/batch/0.5.0
npm http GET https://registry.npmjs.org/stream-counter
npm http 304 https://registry.npmjs.org/negotiator/0.4.2
npm http 304 https://registry.npmjs.org/stream-counter
npm http 304 https://registry.npmjs.org/uid2/0.0.3
npm http 304 https://registry.npmjs.org/parseurl/1.0.1
npm http 304 https://registry.npmjs.org/negotiator/0.3.0
npm http 304 https://registry.npmjs.org/batch/0.5.0
tail@0.4.0 node_modules/tail

ini@1.3.4 node_modules/ini

path@0.4.10 node_modules/path

which@1.0.9 node_modules/which

introspect@0.0.3 node_modules/introspect

strftime@0.8.4 node_modules/strftime

daemonize2@0.4.2 node_modules/daemonize2

cron@1.0.9 node_modules/cron

node-uuid@1.4.3 node_modules/node-uuid

q@1.4.1 node_modules/q

rsync@0.4.0 node_modules/rsync

async@0.9.2 node_modules/async

angular-moment@0.9.2 node_modules/angular-moment

cookie-parser@1.3.5 node_modules/cookie-parser
├── cookie@0.1.3
└── cookie-signature@1.0.6

passport-local@1.0.0 node_modules/passport-local
└── passport-strategy@1.0.0

line-by-line@0.1.3 node_modules/line-by-line

passport.socketio@3.5.1 node_modules/passport.socketio
└── xtend@4.0.0

etc-passwd@0.1.1 node_modules/etc-passwd
└── lazylines@1.0.0

du@0.1.0 node_modules/du
└── async@0.1.22

angular-translate@2.6.1 node_modules/angular-translate

whoami@0.0.3 node_modules/whoami
└── shelljs@0.3.0

object-hash@0.5.0 node_modules/object-hash

passport@0.2.2 node_modules/passport
├── passport-strategy@1.0.0
└── pause@0.0.1

tmp@0.0.26 node_modules/tmp
└── os-tmpdir@1.0.1

moment-duration-format@1.3.0 node_modules/moment-duration-format

method-override@2.3.3 node_modules/method-override
├── methods@1.1.1
├── vary@1.0.0
├── parseurl@1.3.0
└── debug@2.2.0 (ms@0.7.1)

express-session@1.11.2 node_modules/express-session
├── utils-merge@1.0.0
├── cookie-signature@1.0.6
├── cookie@0.1.2
├── on-headers@1.0.0
├── parseurl@1.3.0
├── depd@1.0.1
├── crc@3.2.1
├── debug@2.2.0 (ms@0.7.1)
└── uid-safe@2.0.0 (base64-url@1.2.1)

sha512crypt-node@0.1.0 node_modules/sha512crypt-node

winston@1.0.0 node_modules/winston
├── cycle@1.0.3
├── stack-trace@0.0.9
├── eyes@0.1.8
├── isstream@0.1.2
├── pkginfo@0.3.0
└── colors@1.0.3

procfs-stats@0.0.4 node_modules/procfs-stats
└── hexip@1.0.1 (tape@2.3.3)

fs-extra@0.11.1 node_modules/fs-extra
├── jsonfile@2.0.1
├── ncp@0.6.0
├── mkdirp@0.5.1 (minimist@0.0.8)
└── rimraf@2.4.0 (glob@4.5.3)

unzip@0.1.11 node_modules/unzip
├── setimmediate@1.0.2
├── pullstream@0.4.1 (slice-stream@1.0.0, over@0.0.5)
├── match-stream@0.0.2 (buffers@0.1.1)
├── readable-stream@1.0.33 (inherits@2.0.1, isarray@0.0.1, string_decoder@0.10.31, core-util-is@1.0.1)
├── binary@0.3.0 (buffers@0.1.1, chainsaw@0.1.0)
└── fstream@0.1.31 (inherits@2.0.1, graceful-fs@3.0.8, mkdirp@0.5.1, rimraf@2.4.0)

angular@1.3.16 node_modules/angular

uname@0.0.2 node_modules/uname

userid@0.1.3 node_modules/userid
└── nan@1.8.4

chokidar@1.0.0-rc3 node_modules/chokidar
├── async-each@0.1.6
├── is-binary-path@1.0.1 (binary-extensions@1.3.1)
├── glob-parent@1.2.0 (is-glob@1.1.3)
├── readdirp@1.3.0 (graceful-fs@2.0.3, readable-stream@1.0.33, minimatch@0.2.14)
└── anymatch@1.3.0 (arrify@1.0.0, micromatch@2.1.6)

moment@2.9.0 node_modules/moment

moment-timezone@0.3.1 node_modules/moment-timezone

body-parser@1.12.4 node_modules/body-parser
├── content-type@1.0.1
├── bytes@1.0.0
├── depd@1.0.1
├── qs@2.4.2
├── debug@2.2.0 (ms@0.7.1)
├── raw-body@2.0.2 (bytes@2.1.0)
├── iconv-lite@0.4.8
├── on-finished@2.2.1 (ee-first@1.1.0)
└── type-is@1.6.2 (media-typer@0.3.0, mime-types@2.0.14)

urllib@2.3.8 node_modules/urllib
├── native-or-bluebird@1.2.0
├── statuses@1.2.1
├── default-user-agent@0.0.1
├── media-typer@0.3.0
├── debug@2.2.0 (ms@0.7.1)
├── iconv-lite@0.4.10
├── humanize-ms@1.0.1 (ms@0.6.2)
└── digest-header@0.0.1 (utility@0.1.11)

socket.io@1.3.5 node_modules/socket.io
├── has-binary-data@0.1.3 (isarray@0.0.1)
├── debug@2.1.0 (ms@0.6.2)
├── engine.io@1.5.1 (base64id@0.1.0, debug@1.0.3, engine.io-parser@1.2.1, ws@0.5.0)
├── socket.io-adapter@0.3.1 (object-keys@1.0.1, debug@1.0.2, socket.io-parser@2.2.2)
├── socket.io-parser@2.2.4 (isarray@0.0.1, debug@0.7.4, component-emitter@1.1.2, benchmark@1.0.0, json3@3.2.6)
└── socket.io-client@1.3.5 (to-array@0.1.3, indexof@0.0.1, component-bind@1.0.0, debug@0.7.4, backo2@1.0.2, object-component@0.0.3, component-emitter@1.1.2, has-binary@0.1.6, parseuri@0.0.2, engine.io-client@1.5.1)

nodeunit@0.9.1 node_modules/nodeunit
└── tap@0.7.1 (inherits@2.0.1, buffer-equal@0.0.1, slide@1.1.6, deep-equal@1.0.0, yamlish@0.0.7, mkdirp@0.5.1, glob@4.5.3, difflet@0.2.6, nopt@3.0.2, runforcover@0.0.2)

xml2js@0.4.9 node_modules/xml2js
├── sax@0.6.1
└── xmlbuilder@2.6.4 (lodash@3.9.3)

request@2.55.0 node_modules/request
├── caseless@0.9.0
├── aws-sign2@0.5.0
├── forever-agent@0.6.1
├── form-data@0.2.0
├── stringstream@0.0.4
├── oauth-sign@0.6.0
├── tunnel-agent@0.4.0
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├── qs@2.4.2
├── combined-stream@0.0.7 (delayed-stream@0.0.5)
├── bl@0.9.4 (readable-stream@1.0.33)
├── tough-cookie@1.2.0
├── http-signature@0.10.1 (assert-plus@0.1.5, asn1@0.1.11, ctype@0.5.3)
├── mime-types@2.0.14 (mime-db@1.12.0)
├── hawk@2.3.1 (cryptiles@2.0.4, sntp@1.0.9, boom@2.7.2, hoek@2.14.0)
└── har-validator@1.7.1 (bluebird@2.9.27, commander@2.8.1, is-my-json-valid@2.12.0, chalk@1.0.0)

express@3.5.3 node_modules/express
├── methods@0.1.0
├── merge-descriptors@0.0.2
├── cookie@0.1.2
├── debug@0.8.1
├── cookie-signature@1.0.3
├── range-parser@1.0.0
├── fresh@0.2.2
├── buffer-crc32@0.2.1
├── mkdirp@0.4.0
├── commander@1.3.2 (keypress@0.1.0)
├── send@0.3.0 (debug@0.8.0, mime@1.2.11)
└── connect@2.14.5 (response-time@1.0.0, pause@0.0.1, method-override@1.0.0, connect-timeout@1.0.0, vhost@1.0.0, qs@0.6.6, bytes@0.3.0, static-favicon@1.0.2, raw-body@1.1.4, basic-auth-connect@1.0.0, errorhandler@1.0.0, setimmediate@1.0.1, morgan@1.0.0, cookie-parser@1.0.1, multiparty@2.2.0, serve-static@1.1.0, express-session@1.0.2, compression@1.0.0, serve-index@1.0.1, csurf@1.1.0)
root@etherpad games/minecraft# cp /usr/games/minecraft/init/mineos.conf /etc/init/
root@etherpad games/minecraft# start mineos
-bash: start: command not found
root@etherpad games/minecraft#


#2

What distro are you using to start with?

If you’re using turnkey, there are no instructions for starting it up automatically. You just can open the server with

cd /usr/games/minecraft
nodejs webui.js

This webui is pre-production. I need as much as I can some feedback on how the webui works much more so than the install process, so if you can work with the webui manually started it would be a great help.

“start mineos” is for distros that use upstart. Turnkey doesn’t, and many apt-get distros don’t, so again, if you can ignore that and still test the webui I’d appreciate it a lot.


#3

let me look into that and get back with you


#4

module.js:340
throw err;
^

Error: Cannot find module ‘/usr/games/minecraft/web.js’
at Function.Module._resolveFilename 9module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

This was the error that I received when I tried cd /usr/games/minecraft
nodejs webui.js


#5

Are you sure you typed in webui.js?

The error suggests you just put nodejs web.js


#6

you are correct I had a typo I had typed nodejs web.js
the webui is now running. I will now work start testing it a bit to see if I can create some servers and see how things go. the install process went very smoothly except for they one typo on my part at the very end.