>From what directory are you running boot.js/tiddlywiki.js?

TW5 expects to be started with the current directory containing the wiki to
be loaded up (you can see examples of wiki folders in the editions
directory of the repo). That's why the supplied batch files like bld.sh cd
into the directory of the edition they are building.

Best wishes

Jeremy


On Sun, Dec 2, 2012 at 6:40 PM, Ivan Erceg <[email protected]> wrote:

> Hi,
>
> I'm trying to run TW5 on node.js on Windows. I get this error whether I
> run tiddlywiki.js or core\boot.js:
>
> fs.js:338
>   return binding.open(pathModule._makeLong(path), stringToFlags(flags),
> mode);
>                  ^
> Error: ENOENT, no such file or directory
> 'C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\plugins\tiddlywiki\plugin.bundle'
>     at Object.fs.openSync (fs.js:338:18)
>     at Object.fs.readFileSync (fs.js:182:15)
>     at Object.$tw.loadBundleFolder
> (C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\core\boot.js:937:31)
>     at Object.$tw.loadTiddlers
> (C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\core\boot.js:1036:17)
>     at Object.$tw.boot.startup
> (C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\core\boot.js:1058:6)
>     at C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\core\boot.js:1084:11
>     at Object.$tw.boot.decryptEncryptedTiddlers
> (C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\core\boot.js:866:2)
>     at C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\core\boot.js:1083:10
>     at Object.<anonymous>
> (C:\Users\Ivan\Documents\GitHub\TiddlyWiki5\core\boot.js:1087:3)
>     at Module._compile (module.js:449:26)
>
> The repo is synced.
>
> Thanks,
> Ivan
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/tiddlywikidev/-/a_VHYQiaHsMJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/tiddlywikidev?hl=en.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to