Closed nesv closed 12 years ago
I think this is perhaps due to the new version (v0.6.13) of node that come out lately? They changed some of the core module names, namely sys -> util.
I have that error, too. Any workarounds, yet?
This is easily fixed by commenting out / removing the following line from nodekit.js:
require.paths.unshift(__dirname + '/../Shared/');
And then adding TermKit/Shared folder to your NODE_PATH environment variable.
thanks for that. That worked so far. The daemon runs. I am on OSX and when I unzip and start the TermKit.app its runs, but keeps black all the time (which might be a duplicate to #70). No prompt at all. :( Pressing ⌥⌘C to access the WebKit console works though.
Commenting/removing that line in Node/nodekit.js
gets me past that initial error. Here's a new error I'm getting:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'protocol'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object.<anonymous> (/Users/nsaika/Downloads/TermKit/Node/router.js:3:16)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
@indienick Did you add the Termkit/Shared directory to your NODE_PATH environment variable?
That worked. Thank you very much. :)
ERROR?
how to solve this problem
when I gave comments
I'am using ubuntu 14.04
The following error gets raised when I attempt to run the
nodekit.js
file:Running
echo $NODE_PATH
gives me the following output:For what it is worth, I following the installation instructions in the main README.