yocontra / smog

HTML5/Node/WebSocket MongoDB panel
MIT License
443 stars 42 forks source link

Error on run smog #38

Closed paulomcnally closed 10 years ago

paulomcnally commented 10 years ago

Installation

npm install smog -g
npm http GET https://registry.npmjs.org/smog
npm http 200 https://registry.npmjs.org/smog
npm http GET https://registry.npmjs.org/smog/-/smog-0.1.6.tgz
npm http 200 https://registry.npmjs.org/smog/-/smog-0.1.6.tgz
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/mongoskin
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/vein/0.5.0
npm http GET https://registry.npmjs.org/mongo-ton
npm http GET https://registry.npmjs.org/ton
npm http GET https://registry.npmjs.org/pane
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/mongodb
npm http 200 https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/coffee-script/-/coffee-script-1.7.1.tgz
npm http 200 https://registry.npmjs.org/mongoskin
npm http GET https://registry.npmjs.org/mongoskin/-/mongoskin-1.3.20-alpha.tgz
npm http 200 https://registry.npmjs.org/mongo-ton
npm http GET https://registry.npmjs.org/mongo-ton/-/mongo-ton-0.0.3.tgz
npm http 200 https://registry.npmjs.org/ton
npm http GET https://registry.npmjs.org/ton/-/ton-0.0.2.tgz
npm http 304 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/express
npm http 200 https://registry.npmjs.org/vein/0.5.0
npm http GET https://registry.npmjs.org/vein/-/vein-0.5.0.tgz
npm http 200 https://registry.npmjs.org/uglify-js
npm http 200 https://registry.npmjs.org/pane
npm http 200 https://registry.npmjs.org/coffee-script/-/coffee-script-1.7.1.tgz
npm http 200 https://registry.npmjs.org/mongoskin/-/mongoskin-1.3.20-alpha.tgz
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-1.3.5.tgz
npm http GET https://registry.npmjs.org/pane/-/pane-0.0.10.tgz
npm http 200 https://registry.npmjs.org/mongo-ton/-/mongo-ton-0.0.3.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.3.5.tgz
npm http 200 https://registry.npmjs.org/ton/-/ton-0.0.2.tgz
npm http 200 https://registry.npmjs.org/vein/-/vein-0.5.0.tgz
npm http 200 https://registry.npmjs.org/mongodb
npm http 200 https://registry.npmjs.org/pane/-/pane-0.0.10.tgz
npm http GET https://registry.npmjs.org/mongodb/-/mongodb-1.3.23.tgz
npm http 200 https://registry.npmjs.org/mongodb/-/mongodb-1.3.23.tgz
npm http GET https://registry.npmjs.org/mongodb/1.3.20
npm http GET https://registry.npmjs.org/connect/2.12.0
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/mkdirp/0.3.5
npm http GET https://registry.npmjs.org/methods/0.1.0
npm http GET https://registry.npmjs.org/commander/1.3.2
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/fresh/0.2.0
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http GET https://registry.npmjs.org/merge-descriptors/0.0.1
npm http GET https://registry.npmjs.org/send/0.1.4
npm http GET https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 200 https://registry.npmjs.org/mkdirp/0.3.5
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http 304 https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/protosock
npm http 200 https://registry.npmjs.org/commander/1.3.2
npm http 304 https://registry.npmjs.org/methods/0.1.0
npm http GET https://registry.npmjs.org/commander/-/commander-1.3.2.tgz
npm http 200 https://registry.npmjs.org/connect/2.12.0
npm http 200 https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/connect/-/connect-2.12.0.tgz
npm http 304 https://registry.npmjs.org/send/0.1.4
npm http 200 https://registry.npmjs.org/fresh/0.2.0
npm http GET https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-1.3.2.tgz
npm http 200 https://registry.npmjs.org/cookie-signature/1.0.1
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http 200 https://registry.npmjs.org/debug
npm http 200 https://registry.npmjs.org/mongodb/1.3.20
npm http 304 https://registry.npmjs.org/merge-descriptors/0.0.1
npm http 200 https://registry.npmjs.org/connect/-/connect-2.12.0.tgz
npm http GET https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz
npm http 200 https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http GET https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.1.tgz
npm http GET https://registry.npmjs.org/mongodb/-/mongodb-1.3.20.tgz
npm http 200 https://registry.npmjs.org/protosock
npm http 200 https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz
npm http GET https://registry.npmjs.org/protosock/-/protosock-0.2.4.tgz
npm http 200 https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.1.tgz
npm http 200 https://registry.npmjs.org/mongodb/-/mongodb-1.3.20.tgz
npm http 200 https://registry.npmjs.org/protosock/-/protosock-0.2.4.tgz
npm http GET https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/bson/0.2.5
npm http GET https://registry.npmjs.org/kerberos/0.0.3
npm http 200 https://registry.npmjs.org/kerberos/0.0.3
npm http GET https://registry.npmjs.org/kerberos/-/kerberos-0.0.3.tgz
npm http 200 https://registry.npmjs.org/kerberos/-/kerberos-0.0.3.tgz
npm http 200 https://registry.npmjs.org/bson/0.2.5
npm http GET https://registry.npmjs.org/bson/-/bson-0.2.5.tgz
npm http 200 https://registry.npmjs.org/bson/-/bson-0.2.5.tgz

> pane@0.0.10 install /root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/pane
> moc ./src/HookedPage.h  -o ./src/HookedPage.moc && node-waf configure build

sh: moc: command not found
npm WARN optional dep failed, continuing pane@0.0.10
npm http GET https://registry.npmjs.org/emitter-component
npm http GET https://registry.npmjs.org/engine.io
npm http GET https://registry.npmjs.org/engine.io-client
npm http 200 https://registry.npmjs.org/emitter-component
npm http GET https://registry.npmjs.org/emitter-component/-/emitter-component-1.1.1.tgz
npm http 200 https://registry.npmjs.org/engine.io
npm http GET https://registry.npmjs.org/engine.io/-/engine.io-0.9.0.tgz
npm http 200 https://registry.npmjs.org/engine.io-client
npm http GET https://registry.npmjs.org/engine.io-client/-/engine.io-client-0.9.0.tgz
npm http 200 https://registry.npmjs.org/emitter-component/-/emitter-component-1.1.1.tgz
npm http 200 https://registry.npmjs.org/engine.io/-/engine.io-0.9.0.tgz
npm http 200 https://registry.npmjs.org/engine.io-client/-/engine.io-client-0.9.0.tgz
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/keypress
npm http 304 https://registry.npmjs.org/mime
npm http 200 https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/debug/0.6.0
npm http GET https://registry.npmjs.org/ws/0.4.31
npm http GET https://registry.npmjs.org/engine.io-parser/0.3.0
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm http 200 https://registry.npmjs.org/engine.io-parser/0.3.0
npm http GET https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-0.3.0.tgz
npm http GET https://registry.npmjs.org/has-cors/1.0.3
npm http GET https://registry.npmjs.org/indexof/0.0.1
npm http GET https://registry.npmjs.org/debug/0.7.4
npm http GET https://github.com/component/global/archive/v2.0.1.tar.gz
npm http 200 https://registry.npmjs.org/debug/0.6.0
npm http GET https://github.com/LearnBoost/node-XMLHttpRequest/archive/0f36d0b5ebc03d85f860d42a64ae9791e1daa433.tar.gz
npm http GET http://github.com/component/emitter/archive/1.0.1.tar.gz
npm http 200 https://registry.npmjs.org/base64id/0.1.0
npm http 200 https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-0.3.0.tgz
npm http GET https://registry.npmjs.org/debug/-/debug-0.6.0.tgz
npm http GET https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
npm http 200 https://registry.npmjs.org/debug/0.7.4
npm http GET https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm http 200 https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm http 200 https://registry.npmjs.org/has-cors/1.0.3
npm http 200 https://registry.npmjs.org/indexof/0.0.1
npm http 200 https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
npm http GET https://registry.npmjs.org/has-cors/-/has-cors-1.0.3.tgz
npm http GET https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz
npm http 200 https://registry.npmjs.org/debug/-/debug-0.6.0.tgz
npm http 200 https://github.com/LearnBoost/node-XMLHttpRequest/archive/0f36d0b5ebc03d85f860d42a64ae9791e1daa433.tar.gz
npm http 200 https://github.com/component/global/archive/v2.0.1.tar.gz
npm http 200 http://github.com/component/emitter/archive/1.0.1.tar.gz
npm http 200 https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz
npm http 200 https://registry.npmjs.org/has-cors/-/has-cors-1.0.3.tgz
npm http GET https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/raw-body/1.1.2
npm http GET https://registry.npmjs.org/multiparty/2.2.0
npm http GET https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/batch/0.5.0
npm http GET https://registry.npmjs.org/qs/0.6.6
npm http 200 https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/bytes/-/bytes-0.2.1.tgz
npm http 304 https://registry.npmjs.org/multiparty/2.2.0
npm http 304 https://registry.npmjs.org/negotiator/0.3.0
npm http 304 https://registry.npmjs.org/batch/0.5.0
npm http 304 https://registry.npmjs.org/qs/0.6.6
npm http 200 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/raw-body/1.1.2
npm http 200 https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http GET https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz
npm http 200 https://registry.npmjs.org/bytes/-/bytes-0.2.1.tgz
npm http 200 https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz
npm http 200 https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http GET https://registry.npmjs.org/bson/0.2.3
npm http 200 https://registry.npmjs.org/bson/0.2.3
npm http GET https://registry.npmjs.org/bson/-/bson-0.2.3.tgz
npm http 200 https://registry.npmjs.org/bson/-/bson-0.2.3.tgz

> kerberos@0.0.3 install /root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongodb/node_modules/kerberos/build'
  SOLINK_MODULE(target) Release/obj.target/kerberos.node
  SOLINK_MODULE(target) Release/obj.target/kerberos.node: Finished
  COPY Release/kerberos.node
make: Leaving directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongodb/node_modules/kerberos/build'
npm http GET https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/readable-stream
npm http 200 https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.11.tgz
npm http 200 https://registry.npmjs.org/stream-counter
npm http 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.11.tgz
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/debuglog/0.0.2
npm http 304 https://registry.npmjs.org/core-util-is
npm http 200 https://registry.npmjs.org/debuglog/0.0.2
npm http GET https://registry.npmjs.org/debuglog/-/debuglog-0.0.2.tgz
npm http 200 https://registry.npmjs.org/debuglog/-/debuglog-0.0.2.tgz
npm http 304 https://registry.npmjs.org/string_decoder

> bson@0.2.5 install /root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongodb/node_modules/bson/build'
  CXX(target) Release/obj.target/bson/ext/bson.o
  SOLINK_MODULE(target) Release/obj.target/bson.node
  SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
  COPY Release/bson.node
make: Leaving directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongodb/node_modules/bson/build'
npm http 200 https://registry.npmjs.org/ws/0.4.31
npm http GET https://registry.npmjs.org/ws/-/ws-0.4.31.tgz
npm http 200 https://registry.npmjs.org/ws/-/ws-0.4.31.tgz
npm http GET https://registry.npmjs.org/nan
npm http 200 https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/nan/-/nan-0.4.4.tgz
npm http GET https://github.com/component/global/archive/v2.0.1.tar.gz
npm http 200 https://registry.npmjs.org/nan/-/nan-0.4.4.tgz
npm http 200 https://github.com/component/global/archive/v2.0.1.tar.gz
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/options
npm http GET https://registry.npmjs.org/commander
npm http 200 https://registry.npmjs.org/tinycolor
npm http 200 https://registry.npmjs.org/options
npm http 200 https://registry.npmjs.org/commander

> kerberos@0.0.3 install /root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongoskin/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongoskin/node_modules/mongodb/node_modules/kerberos/build'
  SOLINK_MODULE(target) Release/obj.target/kerberos.node
  SOLINK_MODULE(target) Release/obj.target/kerberos.node: Finished
  COPY Release/kerberos.node
make: Leaving directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongoskin/node_modules/mongodb/node_modules/kerberos/build'

> bson@0.2.3 install /root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongoskin/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongoskin/node_modules/mongodb/node_modules/bson/build'
  CXX(target) Release/obj.target/bson/ext/bson.o
  SOLINK_MODULE(target) Release/obj.target/bson.node
  SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
  COPY Release/bson.node
make: Leaving directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/mongoskin/node_modules/mongodb/node_modules/bson/build'

> ws@0.4.31 install /root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/vein/node_modules/protosock/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/vein/node_modules/protosock/node_modules/engine.io/node_modules/ws/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  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
  SOLINK_MODULE(target) Release/obj.target/validation.node
  SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
  COPY Release/validation.node
make: Leaving directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/vein/node_modules/protosock/node_modules/engine.io/node_modules/ws/build'

> ws@0.4.31 install /root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/vein/node_modules/protosock/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/vein/node_modules/protosock/node_modules/engine.io-client/node_modules/ws/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  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
  SOLINK_MODULE(target) Release/obj.target/validation.node
  SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
  COPY Release/validation.node
make: Leaving directory `/root/.nvm/v0.10.25/lib/node_modules/smog/node_modules/vein/node_modules/protosock/node_modules/engine.io-client/node_modules/ws/build'
/root/.nvm/v0.10.25/bin/smog -> /root/.nvm/v0.10.25/lib/node_modules/smog/bin/smog
smog@0.1.6 /root/.nvm/v0.10.25/lib/node_modules/smog
├── ton@0.0.2
├── mongo-ton@0.0.3
├── async@0.2.10
├── coffee-script@1.7.1 (mkdirp@0.3.5)
├── uglify-js@1.3.5
├── express@3.4.8 (methods@0.1.0, merge-descriptors@0.0.1, cookie-signature@1.0.1, range-parser@0.0.4, fresh@0.2.0, debug@0.7.4, buffer-crc32@0.2.1, cookie@0.1.0, mkdirp@0.3.5, commander@1.3.2, send@0.1.4, connect@2.12.0)
├── mongodb@1.3.23 (kerberos@0.0.3, bson@0.2.5)
├── mongoskin@1.3.20-alpha (mongodb@1.3.20)
└── vein@0.5.0 (protosock@0.2.4)

Error

$ smog

/root/.nvm/v0.10.25/lib/node_modules/smog/start.coffee:1
exports, require, module, __filename, __dirname) { express = require "express"
                                                                     ^^^^^^^^^
SyntaxError: Unexpected string
  at Module._compile (module.js:439:25)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/root/.nvm/v0.10.25/lib/node_modules/smog/bin/smog:4:1)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Function.Module.runMain (module.js:497:10)
  at startup (node.js:119:16)
  at node.js:902:3
paulomcnally commented 10 years ago

Thanks