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

How to install and run it? #5

Open
etnt opened this issue May 3, 2013 · 1 comment
Open

How to install and run it? #5

etnt opened this issue May 3, 2013 · 1 comment

Comments

@etnt
Copy link

etnt commented May 3, 2013

Ehum...excuse my ignorance when it comes to Node.js.
I tried to install journo with the npm command as described.
Then trying 'journo init' which complains about a missing 'node',
so I modifiy the journo script to use 'nodejs' (I'm using Ubuntu 12.10),
but now I get:

$ journo init

/usr/local/lib/node_modules/journo/journo.js:175
if (fs.existsSync('posts')) {
^
TypeError: Object # has no method 'existsSync'
at Object.init (/usr/local/lib/node_modules/journo/journo.js:175:12)
at Object.run (/usr/local/lib/node_modules/journo/journo.js:240:29)
at Object. (/usr/local/lib/node_modules/journo/bin/journo:7:26)
at Module._compile (module.js:446:26)
at Object..js (module.js:464:10)
at Module.load (module.js:353:32)
at Function._load (module.js:311:12)
at Array.0 (module.js:484:10)
at EventEmitter._tickCallback (node.js:190:39)

and I'm way out of my depth...

Cheers, Tobbe

@josher19
Copy link

josher19 commented Jun 3, 2013

What version of node are you using?

nodejs --version

You might need to install a later version of node (v0.8 or v0.10).

Also, instead of modifying the journo script (which could cause problems), you could link node to nodejs:

sudo ln -s `which nodejs` /usr/local/bin/node
which node
node --version

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

2 participants