-
-
Save keitheis/2382657 to your computer and use it in GitHub Desktop.
% npm install ethercalc | |
npm http GET https://registry.npmjs.org/ethercalc | |
npm http 200 https://registry.npmjs.org/ethercalc | |
npm http GET https://registry.npmjs.org/ethercalc/-/ethercalc-0.20120408.192847.tgz | |
npm http 200 https://registry.npmjs.org/ethercalc/-/ethercalc-0.20120408.192847.tgz | |
npm http GET https://registry.npmjs.org/zappa | |
npm http GET https://registry.npmjs.org/redis | |
npm http GET https://registry.npmjs.org/uuid-pure | |
npm http GET https://registry.npmjs.org/node-uuid | |
npm http GET https://registry.npmjs.org/express | |
npm http GET https://registry.npmjs.org/socket.io | |
npm http GET https://registry.npmjs.org/coffeekup | |
npm http GET https://registry.npmjs.org/optimist | |
npm http GET https://registry.npmjs.org/coffee-script | |
npm http GET https://registry.npmjs.org/hiredis | |
npm http GET https://registry.npmjs.org/jsdom | |
npm http 200 https://registry.npmjs.org/uuid-pure | |
npm http 200 https://registry.npmjs.org/node-uuid | |
npm http GET https://registry.npmjs.org/uuid-pure/-/uuid-pure-1.0.10.tgz | |
npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.3.3.tgz | |
npm http 200 https://registry.npmjs.org/zappa | |
npm http GET https://registry.npmjs.org/zappa/-/zappa-0.3.3.tgz | |
npm http 200 https://registry.npmjs.org/coffeekup | |
npm http GET https://registry.npmjs.org/coffeekup/-/coffeekup-0.3.1.tgz | |
npm http 200 https://registry.npmjs.org/redis | |
npm http GET https://registry.npmjs.org/redis/-/redis-0.7.1.tgz | |
npm http 200 https://registry.npmjs.org/coffee-script | |
npm http 200 https://registry.npmjs.org/optimist | |
npm http GET https://registry.npmjs.org/coffee-script/-/coffee-script-1.3.1.tgz | |
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.3.1.tgz | |
npm http 200 https://registry.npmjs.org/hiredis | |
npm http GET https://registry.npmjs.org/hiredis/-/hiredis-0.1.14.tgz | |
npm http 200 https://registry.npmjs.org/uuid-pure/-/uuid-pure-1.0.10.tgz | |
npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.3.3.tgz | |
npm http 200 https://registry.npmjs.org/express | |
npm http GET https://registry.npmjs.org/express/-/express-2.5.9.tgz | |
npm http 200 https://registry.npmjs.org/zappa/-/zappa-0.3.3.tgz | |
npm http 200 https://registry.npmjs.org/coffeekup/-/coffeekup-0.3.1.tgz | |
npm http 200 https://registry.npmjs.org/redis/-/redis-0.7.1.tgz | |
npm http 200 https://registry.npmjs.org/socket.io | |
npm http GET https://registry.npmjs.org/socket.io/-/socket.io-0.9.5.tgz | |
npm http 200 https://registry.npmjs.org/jsdom | |
npm http GET https://registry.npmjs.org/jsdom/-/jsdom-0.2.14.tgz | |
npm http 200 https://registry.npmjs.org/coffee-script/-/coffee-script-1.3.1.tgz | |
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.3.1.tgz | |
npm http 200 https://registry.npmjs.org/hiredis/-/hiredis-0.1.14.tgz | |
npm http 200 https://registry.npmjs.org/express/-/express-2.5.9.tgz | |
npm http 200 https://registry.npmjs.org/socket.io/-/socket.io-0.9.5.tgz | |
npm http 200 https://registry.npmjs.org/jsdom/-/jsdom-0.2.14.tgz | |
npm http GET https://registry.npmjs.org/wordwrap | |
> [email protected] preinstall /u/keitheis/node_modules/ethercalc/node_modules/hiredis | |
> make || gmake | |
cd deps/hiredis && make static | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c | |
npm http GET https://registry.npmjs.org/connect | |
npm http GET https://registry.npmjs.org/mime/1.2.4 | |
npm http GET https://registry.npmjs.org/qs | |
npm http GET https://registry.npmjs.org/mkdirp/0.3.0 | |
npm http GET https://registry.npmjs.org/socket.io-client/0.9.5 | |
npm http GET https://registry.npmjs.org/policyfile/0.0.4 | |
npm http GET https://registry.npmjs.org/redis/0.6.7 | |
clang: warning: argument unused during compilation: '-ggdb' | |
npm http GET https://registry.npmjs.org/node-uuid/1.2.0 | |
npm http GET https://registry.npmjs.org/uglify-js | |
npm http GET https://registry.npmjs.org/socket.io | |
npm http GET https://registry.npmjs.org/htmlparser | |
npm http GET https://registry.npmjs.org/request | |
npm http GET https://registry.npmjs.org/cssom | |
npm http GET https://registry.npmjs.org/contextify | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c | |
clang: warning: argument unused during compilation: '-ggdb' | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c | |
clang: warning: argument unused during compilation: '-ggdb' | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c | |
clang: warning: argument unused during compilation: '-ggdb' | |
ar rcs libhiredis.a net.o hiredis.o sds.o async.o | |
node-waf configure build | |
Setting srcdir to : /u/keitheis/node_modules/ethercalc/node_modules/hiredis | |
Setting blddir to : /u/keitheis/node_modules/ethercalc/node_modules/hiredis/build | |
Checking for program g++ or c++ : /usr/bin/g++ | |
Checking for program cpp : /usr/bin/cpp | |
Checking for program ar : /usr/bin/ar | |
Checking for program ranlib : /usr/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : not found | |
Checking for node prefix : ok /usr/local/Cellar/node/0.6.14 | |
'configure' finished successfully (0.216s) | |
Waf: Entering directory `/u/keitheis/node_modules/ethercalc/node_modules/hiredis/build' | |
[1/3] cxx: hiredis.cc -> build/Release/hiredis_1.o | |
[2/3] cxx: reader.cc -> build/Release/reader_1.o | |
npm http 200 https://registry.npmjs.org/mkdirp/0.3.0 | |
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz | |
npm http 200 https://registry.npmjs.org/wordwrap | |
npm http GET https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz | |
npm http 200 https://registry.npmjs.org/qs | |
npm http GET https://registry.npmjs.org/qs/-/qs-0.4.2.tgz | |
[3/3] cxx_link: build/Release/hiredis_1.o build/Release/reader_1.o -> build/Release/hiredis.node | |
npm http 200 https://registry.npmjs.org/mime/1.2.4 | |
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.4.tgz | |
Waf: Leaving directory `/u/keitheis/node_modules/ethercalc/node_modules/hiredis/build' | |
'build' finished successfully (0.682s) | |
npm http 200 https://registry.npmjs.org/redis/0.6.7 | |
npm http GET https://registry.npmjs.org/redis/-/redis-0.6.7.tgz | |
npm http 200 https://registry.npmjs.org/policyfile/0.0.4 | |
npm http 200 https://registry.npmjs.org/socket.io-client/0.9.5 | |
npm http GET https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz | |
npm http GET https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.5.tgz | |
npm http 200 https://registry.npmjs.org/node-uuid/1.2.0 | |
npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.2.0.tgz | |
npm http 304 https://registry.npmjs.org/socket.io | |
npm http GET https://registry.npmjs.org/socket.io/-/socket.io-0.8.7.tgz | |
npm http 200 https://registry.npmjs.org/uglify-js | |
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-1.1.1.tgz | |
npm http 200 https://registry.npmjs.org/htmlparser | |
npm http GET https://registry.npmjs.org/htmlparser/-/htmlparser-1.7.6.tgz | |
npm http 200 https://registry.npmjs.org/cssom | |
npm http GET https://registry.npmjs.org/cssom/-/cssom-0.2.3.tgz | |
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz | |
npm http 200 https://registry.npmjs.org/contextify | |
npm http GET https://registry.npmjs.org/contextify/-/contextify-0.1.2.tgz | |
npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz | |
npm http 200 https://registry.npmjs.org/connect | |
npm http GET https://registry.npmjs.org/connect/-/connect-1.8.6.tgz | |
npm http 200 https://registry.npmjs.org/qs/-/qs-0.4.2.tgz | |
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.4.tgz | |
npm http 200 https://registry.npmjs.org/redis/-/redis-0.6.7.tgz | |
npm http 200 https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz | |
npm http 200 https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.5.tgz | |
npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.2.0.tgz | |
npm http 200 https://registry.npmjs.org/socket.io/-/socket.io-0.8.7.tgz | |
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.1.1.tgz | |
npm http 200 https://registry.npmjs.org/request | |
npm http GET https://registry.npmjs.org/request/-/request-2.9.202.tgz | |
npm http 200 https://registry.npmjs.org/htmlparser/-/htmlparser-1.7.6.tgz | |
npm http 200 https://registry.npmjs.org/cssom/-/cssom-0.2.3.tgz | |
npm http 200 https://registry.npmjs.org/contextify/-/contextify-0.1.2.tgz | |
npm http 200 https://registry.npmjs.org/connect/-/connect-1.8.6.tgz | |
npm http 200 https://registry.npmjs.org/request/-/request-2.9.202.tgz | |
npm http GET https://registry.npmjs.org/socket.io-client/0.8.7 | |
npm http GET https://registry.npmjs.org/policyfile/0.0.4 | |
npm http GET https://registry.npmjs.org/redis/0.6.7 | |
npm http 304 https://registry.npmjs.org/policyfile/0.0.4 | |
npm http 304 https://registry.npmjs.org/redis/0.6.7 | |
npm http GET https://registry.npmjs.org/formidable | |
npm http 200 https://registry.npmjs.org/socket.io-client/0.8.7 | |
npm http GET https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.8.7.tgz | |
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url'] | |
npm http GET https://registry.npmjs.org/bindings | |
npm http 200 https://registry.npmjs.org/socket.io-client/-/socket.io-client-0.8.7.tgz | |
npm http 200 https://registry.npmjs.org/formidable | |
npm http GET https://registry.npmjs.org/formidable/-/formidable-1.0.9.tgz | |
npm http 200 https://registry.npmjs.org/bindings | |
npm http GET https://registry.npmjs.org/bindings/-/bindings-0.3.0.tgz | |
npm http 200 https://registry.npmjs.org/formidable/-/formidable-1.0.9.tgz | |
npm http 200 https://registry.npmjs.org/bindings/-/bindings-0.3.0.tgz | |
> [email protected] install /u/keitheis/node_modules/ethercalc/node_modules/jsdom/node_modules/contextify | |
> node-gyp rebuild | |
info it worked if it ends with ok | |
info downloading: http://nodejs.org/dist/v0.6.14/node-v0.6.14.tar.gz | |
npm http GET https://registry.npmjs.org/uglify-js/1.2.5 | |
npm http GET https://registry.npmjs.org/ws | |
npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2 | |
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1 | |
npm http 200 https://registry.npmjs.org/uglify-js/1.2.5 | |
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-1.2.5.tgz | |
npm http 200 https://registry.npmjs.org/active-x-obfuscator/0.0.1 | |
npm http GET https://registry.npmjs.org/active-x-obfuscator/-/active-x-obfuscator-0.0.1.tgz | |
npm http 200 https://registry.npmjs.org/xmlhttprequest/1.2.2 | |
npm http GET https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.2.2.tgz | |
npm http 200 https://registry.npmjs.org/ws | |
npm http GET https://registry.npmjs.org/ws/-/ws-0.4.13.tgz | |
npm http 200 https://registry.npmjs.org/active-x-obfuscator/-/active-x-obfuscator-0.0.1.tgz | |
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.2.5.tgz | |
npm http 200 https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.2.2.tgz | |
npm http 200 https://registry.npmjs.org/ws/-/ws-0.4.13.tgz | |
npm http GET https://registry.npmjs.org/zeparser/0.0.5 | |
> [email protected] preinstall /u/keitheis/node_modules/ethercalc/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws | |
> make | |
node-waf configure build | |
Checking for program g++ or c++ : /usr/bin/g++ | |
Checking for program cpp : /usr/bin/cpp | |
Checking for program ar : /usr/bin/ar | |
Checking for program ranlib : /usr/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : not found | |
Checking for node prefix : ok /usr/local/Cellar/node/0.6.14 | |
'configure' finished successfully (0.117s) | |
Waf: Entering directory `/u/keitheis/node_modules/ethercalc/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build' | |
[1/4] cxx: src/validation.cc -> build/Release/src/validation_1.o | |
[2/4] cxx: src/bufferutil.cc -> build/Release/src/bufferutil_2.o | |
[3/4] cxx_link: build/Release/src/validation_1.o -> build/Release/validation.node | |
[4/4] cxx_link: build/Release/src/bufferutil_2.o -> build/Release/bufferutil.node | |
Waf: Leaving directory `/u/keitheis/node_modules/ethercalc/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build' | |
'build' finished successfully (0.354s) | |
npm http GET https://registry.npmjs.org/commander | |
npm http GET https://registry.npmjs.org/options | |
npm http 200 https://registry.npmjs.org/zeparser/0.0.5 | |
npm http GET https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz | |
npm http GET https://registry.npmjs.org/uglify-js/1.0.6 | |
npm http GET https://registry.npmjs.org/websocket-client/1.0.0 | |
npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2 | |
npm http 200 https://registry.npmjs.org/options | |
npm http GET https://registry.npmjs.org/options/-/options-0.0.3.tgz | |
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2 | |
npm http 200 https://registry.npmjs.org/commander | |
npm http GET https://registry.npmjs.org/commander/-/commander-0.5.2.tgz | |
npm http 200 https://registry.npmjs.org/options/-/options-0.0.3.tgz | |
npm http 200 https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz | |
npm http 200 https://registry.npmjs.org/websocket-client/1.0.0 | |
npm http GET https://registry.npmjs.org/websocket-client/-/websocket-client-1.0.0.tgz | |
npm http 200 https://registry.npmjs.org/uglify-js/1.0.6 | |
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-1.0.6.tgz | |
npm http 200 https://registry.npmjs.org/commander/-/commander-0.5.2.tgz | |
npm http 200 https://registry.npmjs.org/websocket-client/-/websocket-client-1.0.0.tgz | |
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.0.6.tgz | |
spawn python [ '/u/keitheis/.node-gyp/0.6.14/tools/gyp_addon', | |
'binding.gyp', | |
'-I/u/keitheis/node_modules/ethercalc/node_modules/jsdom/node_modules/contextify/build/config.gypi', | |
'-f', | |
'make' ] | |
spawn make [ 'BUILDTYPE=Release', '-C', 'build' ] | |
CXX(target) Release/obj.target/contextify/src/contextify.o | |
SOLINK_MODULE(target) Release/contextify.node | |
SOLINK_MODULE(target) Release/contextify.node: Finished | |
info done ok | |
[email protected] ./node_modules/ethercalc | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] ([email protected]) | |
├── [email protected] ([email protected] [email protected] [email protected] [email protected]) | |
├── [email protected] ([email protected] [email protected] [email protected]) | |
├── [email protected] ([email protected] [email protected] [email protected] [email protected]) | |
└── [email protected] |
OK please try "npm install ethercalc" again -- just pushed a new version -- and/or try https://github.com/audreyt/ethercalc
cool. as I expected.
but: ([email protected] ./node_modules/ethercalc)
% ./node_modules/ethercalc/bin/ethercalc
Please connect to: http://joker:8000/
info - socket.io started
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: In /u/keitheis/node_modules/ethercalc/player.coffee, the variable "SocialCalc" can't be assigned with ?= because it has not been defined.
at Assign.compileConditional (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:1635:15)
at Assign.compileNode (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:1497:23)
at Assign.compile (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:48:21)
at Block.compileNode (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:311:23)
at Block.compileWithDeclarations (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:395:19)
at Code.compileNode (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:1800:35)
at Code.compile (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:48:21)
at Assign.compileNode (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:1519:24)
at Assign.compile (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:48:21)
at /u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/nodes.js:1177:39
Yeah. The ultra new CoffeeScript 1.3.1 is the cause... Please try again from npm or Github.
Sorry for the trouble!
Err, only GitHub push went through... npm upload was broken.
It should be fixed now; "npm install ethercalc" can work again.
% ./node_modules/ethercalc/bin/ethercalc
Please connect to: http://0.0.0.0:8000/
info - socket.io started
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: In /u/keitheis/node_modules/ethercalc/main.coffee, reserved word "static" on line 11
at SyntaxError (unknown source)
at Lexer.error (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/lexer.js:686:13)
at Lexer.identifierToken (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/lexer.js:88:16)
at Lexer.tokenize (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/lexer.js:35:19)
at /u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/coffee-script.js:43:32
at Object..coffee (/u/keitheis/node_modules/ethercalc/node_modules/coffee-script/lib/coffee-script/coffee-script.js:19:17)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
thanks but no luck yet