Hi Cristian

Aha, the problem is that you're using a very old version of Node.js.
(Version v0.6.12 was released in March 2012, and we're now on v0.10.24).
Are you able to upgrade your installation?

I'm a bit surprised that npm let you install TW5, as it specifies in its
package.json that it requires Node.js >=0.8.2; my understanding was that
npm would refuse to install the package in those circumstances.

TW5 itself also does a check at startup to verify that it's running on a
recent enough version of Node.js, but it sounds like that check isn't
working for you. (I've verified that the check works correctly on current
versions of Node.js).

Best wishes

Jeremy



On Sun, Jan 5, 2014 at 10:58 AM, Cristian Ionut Botoaga
<[email protected]>wrote:

> Hi Jeremy
>
> I use Ubuntu 12.04, tidlywiki is installed in
> /usr/local/lib/node_modules/tiddlywiki. I maked this directory writable and
> I get the same error.
> My node version is: v0.6.12
>
>
>
> On Saturday, January 4, 2014 9:48:32 PM UTC+1, Jeremy Ruston wrote:
>
>> Hi Cristian
>>
>> Is the current directory writable when you're running tiddlywiki
>> --version?
>>
>> Can you check what version of node.js you're running? Type this on the
>> command line:
>>
>> node --version
>>
>> Many thanks,
>>
>> Jeremy
>>
>>
>> On Sat, Jan 4, 2014 at 7:24 PM, Cristian Ionut Botoaga <[email protected]
>> > wrote:
>>
>>> I have installed *tiddlywiki* using sudo
>>> *npm install -g tiddlywiki.*When I run *tiddlywiki --version *I get
>>> this:
>>>
>>> node.js:201
>>>         throw e; // process.nextTick error, or 'error' event on first
>>> tick
>>>               ^
>>> TypeError: Object #<Object> has no method 'existsSync'
>>>     at Object.loadTiddlersFromFolder (/usr/local/lib/node_modules/t
>>> iddlywiki/core/boot.js:589:8)
>>>     at /usr/local/lib/node_modules/tiddlywiki/core/boot.js:658:5
>>>     at Object.<anonymous> (/usr/local/lib/node_modules/tiddlywiki/core/
>>> boot.js:686:3)
>>>     at Module._compile (module.js:441:26)
>>>     at Object..js (module.js:459:10)
>>>     at Module.load (module.js:348:32)
>>>     at Function._load (module.js:308:12)
>>>     at Module.require (module.js:354:17)
>>>     at require (module.js:370:17)
>>>     at Object.<anonymous> (/usr/local/lib/node_modules/tiddlywiki/core/
>>> cli.js:3:18)
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to