johnpolacek / controldeck.js Goto Github PK
View Code? Open in Web Editor NEWcontrol html5 presentations with node.js
Home Page: http://johnpolacek.github.io/controldeck.js/
control html5 presentations with node.js
Home Page: http://johnpolacek.github.io/controldeck.js/
This is what I did
git clone git://github.com/dfcb/controldeck.js.git
npm install
sudo node app
But unfortunately, go to http://localhost:8080/ load forever.
curl http://localhost:8080/ confirm that it run for a long time and get empty respond.
I tried to chmod a+rw . -R, but still in vein.
Any idea? Thanks
/home/rijotech/controldeck.js/node_modules/node-static/lib/node-static.js:220
headers['content-type'] = mime.lookup(files[0]);
TypeError: mime.lookup is not a function
at Server.respond (/home/rijotech/controldeck/node_modules/node-static/lib/node-static.js:220:42)
at /home/rijotech/controldeck/node_modules/node-static/lib/node-static.js:59:18
at FSReqWrap.oncomplete (fs.js:153:5)
Hi, I am trying to install through the npm command on ubuntu 13.10, but I receive the following error, I'm wondering what I am doing wrong..
verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install' ]
info using [email protected]
info using [email protected]
verbose config file /home/stefano/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/share/npm/npmrc
verbose caching /home/stefano/controldeck.js-master/package.json
verbose loadDefaults [email protected]
verbose readDependencies: using package.json deps
verbose where, deps [ '/home/stefano/controldeck.js-master',
verbose where, deps [ 'node-static', 'socket.io' ] ]
verbose from cache /home/stefano/controldeck.js-master/package.json
info preinstall [email protected]
verbose from cache /home/stefano/controldeck.js-master/package.json
verbose readDependencies: using package.json deps
verbose cache add [ 'node-static@~0.6.6', null ]
silly cache add: name, spec, args [ undefined,
silly cache add: name, spec, args 'node-static@~0.6.6',
silly cache add: name, spec, args [ 'node-static@~0.6.6', null ] ]
verbose parsed url { pathname: 'node-static@~0.6.6',
verbose parsed url path: 'node-static@~0.6.6',
verbose parsed url href: 'node-static@~0.6.6' }
silly cache add: name, spec, args [ 'node-static', '~0.6.6', [ 'node-static', '~0.6.6' ] ]
verbose parsed url { pathname: '~0.6.6', path: '~0.6.6', href: '~0.6.6' }
verbose addNamed [ 'node-static', '~0.6.6' ]
verbose addNamed [ null, '>=0.6.6- <0.7.0-' ]
silly name, range, hasData [ 'node-static', '>=0.6.6- <0.7.0-', false ]
verbose cache add [ 'socket.io@~0.9.13', null ]
silly cache add: name, spec, args [ undefined, 'socket.io@~0.9.13', [ 'socket.io@~0.9.13', null ] ]
verbose parsed url { pathname: 'socket.io@~0.9.13',
verbose parsed url path: 'socket.io@~0.9.13',
verbose parsed url href: 'socket.io@~0.9.13' }
silly cache add: name, spec, args [ 'socket.io', '~0.9.13', [ 'socket.io', '~0.9.13' ] ]
verbose parsed url { pathname: '~0.9.13', path: '~0.9.13', href: '~0.9.13' }
verbose addNamed [ 'socket.io', '~0.9.13' ]
verbose addNamed [ null, '>=0.9.13- <0.10.0-' ]
silly name, range, hasData [ 'socket.io', '>=0.9.13- <0.10.0-', false ]
verbose raw, before any munging node-static
verbose url resolving [ 'https://registry.npmjs.org/', './node-static' ]
verbose url resolved https://registry.npmjs.org/node-static
http GET https://registry.npmjs.org/node-static
verbose raw, before any munging socket.io
verbose url resolving [ 'https://registry.npmjs.org/', './socket.io' ]
verbose url resolved https://registry.npmjs.org/socket.io
http GET https://registry.npmjs.org/socket.io
ERR! Error: failed to fetch from registry: socket.io
ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
ERR! at Request. (/usr/lib/nodejs/request/main.js:212:58)
ERR! at Request.emit (events.js:88:20)
ERR! at ClientRequest. (/usr/lib/nodejs/request/main.js:412:12)
ERR! at ClientRequest.g (events.js:156:14)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at HTTPParser.parserOnIncomingClient (as onIncoming) (http.js:1256:7)
ERR! You may report this log at:
ERR! http://bugs.debian.org/npm
ERR! or use
ERR! reportbug --attach /home/stefano/controldeck.js-master/npm-debug.log npm
ERR!
ERR! System Linux 3.8.0-35-generic
ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
ERR! cwd /home/stefano/controldeck.js-master
ERR! node -v v0.6.19
ERR! npm -v 1.1.4
ERR! message failed to fetch from registry: socket.io
verbose exit [ 1, true ]
Feature request: ability to push slide state. Example: with reveal.js, not just push the event to move to the next slide, but what the "master"(/controller's) routed/slide state is. (e.g.- #/1 or #/2/1)
So all connected slideshow viewers could be on the same slide, regardless of when they connect (potentially late, aka- being behind by x slides, perpetually). Tested with reveal.js.
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.