journo
journo copied to clipboard
How to install and run it?
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 #<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.
and I'm way out of my depth...
Cheers, Tobbe
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