Jack require path not working on windows

2 views
Skip to first unread message

sk

unread,
May 25, 2010, 6:34:14 PM5/25/10
to Narwhal and Jack
I think this is related to the activate/sea scripts of an apps bin
folder not working correctly in windows.

If you tusk-init myApp and then execute either activate or sea, you
are not able to require("module") for any files in the local apps lib
directory.
You have to explicitly type require("./lib/module"). This is ok for
your own files, but if you try and include any 3rd party lib that is
local to your app all of its require statements are going to break.

As a workaround, if you put the lib files into jack's lib folder
rather than your local app, it will work. But this is probably
something that should be fixed.

Has anyone else noticed this?

sk

Reply all
Reply to author
Forward
0 new messages