Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mixmastamyk opened this issue Aug 3, 2011 · 8 comments
Closed

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

mixmastamyk opened this issue Aug 3, 2011 · 8 comments

Comments

@mixmastamyk
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

Yes, that is what I meant.

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

@mixmastamyk
Copy link
Author

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
Copy link

sutaid commented Mar 17, 2017

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
Copy link
Contributor

rahulbot commented Mar 17, 2017 via email

@sutaid
Copy link

sutaid commented Mar 19, 2017

@rahulbot So, do you have the running one?

@rahulbot
Copy link
Contributor

rahulbot commented Mar 19, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants