mitmedialab / Junkyard-Jumbotron

The Junkyard Jumbotron is a web tool that makes it really easy to combine a bunch of random displays into a single, large virtual display. It works with laptops, tablets, smartphones -- anything that can run a web browser. And the magic is that all you need to do to configure one is take a photograph of all the screens.
Other
201 stars 51 forks source link

Multiple errors on install (docs not sufficient - Linux) #2

Closed mixmastamyk closed 12 years ago

mixmastamyk commented 12 years ago

Been trying for hours to get this installed on ubuntu natty. Have worked thru a number of issues, but can't get past this one:

node jjserver.js
node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
TypeError: Cannot read property 'prototype' of undefined
    at Object.<anonymous> (/usr/local/lib/node/.npm/express/1.0.7/package/lib/express/server.js:87:44)
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)

Answers here did not work: http://stackoverflow.com/questions/5161828/express-framework-giving-a-very-strange-error

I now have a number of packages installed, but unsure how to proceed.

jj@ubuntu:~/Junkyard-Jumbotron$ npm ls
npm info it worked if it ends with ok
npm info using npm@0.2.19
npm info using node@v0.4.10
chaos@0.1.6-pre          active installed   
chaos@0.1.7              installed   
connect@0.5.9            installed   
connect@0.5.10           active installed   
connect@1.6.0            installed   
express@1.0.7            active installed   
express@2.4.3            installed   
formidable@0.9.11        active installed   
formidable@1.0.2         installed   
gently@0.8.0             active installed   
gently@0.9.1             installed   
gm@0.4.0                 active installed   
gm@0.5.0                 installed   
iconv@1.0.0              active installed   
iconv@1.1.2              installed   
jade@0.9.1               active installed   
jade@0.13.0              installed   
log4js@0.2.3             active installed   
log4js@0.3.7             installed   
mime@1.2.2               active installed   
node-dev@0.1.8           active installed   
npm@0.3.18               active installed   
policyfile@0.0.3         active installed   
qs@0.3.0                 active installed   
redis@0.6.0              active installed   
socket.io@0.7.7          active installed   
socket.io-client@0.7.4   active installed   
uglify-js@1.0.3          active installed
npm ok
JeremyRubin commented 12 years ago

Install a fresh copy. in the makefule replace $(NPM) install node-dev@0.0.5 with $(NPM) install node-dev@0.1.5

Make a copy of paramsLocal.js.Template as paramsLocal.js and insert your path to python. Edit Params.js port to an unused port.

Now, run: $ sudo -s $ make python-extension $make node-packages $node jjserver.js

Tell me how that goes!

mixmastamyk commented 12 years ago

By install a fresh copy I assume you meant wipe the folder and do another git clone. Is that correct?

Anyhow I did the above and get the same error. :(

JeremyRubin commented 12 years ago

Yes, that is what I meant.

Can you remove node and npm from your system, reinstall, and then retry?

mixmastamyk commented 12 years ago

Ok, looks like that powered thru the issue above. Seems to be running now.

Thanks for the help. More specific instructions for Linux or a short script would be great.

sutaid commented 7 years ago

Hello,

I am a dummy beginner. I try to deploy in fresh virtual server. But there are some error while i try to do as your instruction above, starting from make python-extension. Could you help me?

rahulbot commented 7 years ago

Hi this code is super old and not maintained. I highly doubt it will work without major updates. On Fri, Mar 17, 2017 at 7:12 AM sutaid notifications@github.com wrote:

Hello,

I am a dummy beginner. I try to deploy in fresh virtual server. But there are some error while i try to do as your instruction above, starting from make python-extension. Could you help me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mitmedialab/Junkyard-Jumbotron/issues/2#issuecomment-287328201, or mute the thread https://github.com/notifications/unsubscribe-auth/AApFmmJLDrmFY5v9LO5gm5KWReczWaUzks5rmmq3gaJpZM4Mgdik .

--

Rahul Bhargava Research Scientist (Civic Media Group, MIT Media Lab) http://datatherapy.org http://rahul.connectionlab.org

sutaid commented 7 years ago

@rahulbot So, do you have the running one?

rahulbot commented 7 years ago

No, not for years.

On Sun, Mar 19, 2017 at 12:18 PM sutaid notifications@github.com wrote:

@rahulbot https://github.com/rahulbot So, do you have the running one?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/mitmedialab/Junkyard-Jumbotron/issues/2#issuecomment-287627617, or mute the thread https://github.com/notifications/unsubscribe-auth/AApFmvDcj8W8LGp_Uiuwxli137RLScBUks5rnVVJgaJpZM4Mgdik .

--

Rahul Bhargava Research Scientist (Civic Media Group, MIT Media Lab) http://datatherapy.org http://rahul.connectionlab.org