Hi,

I installed nodejs 0.6.18 (MSI) under Windows7 (64Bit).
It runs in the Command-Box (cmd.exe), but I'd really like to use 
Cygwin/Bash.

In Cygwin (current version) node behaves strange.

$ node


starts but seems to listen for input, but does nothing.

node -v


is working correctly.

Scripts w/out dependencies work as well.

npm -v


outputs:

module.js:337
    throw new Error("Cannot find module '" + request + "'");
          ^
Error: Cannot find module *'C:\cygdrive\c*\Program Files 
(x86)\nodejs\node_modules\npm\bin\npm-cli.js'
    at Function._resolveFilename (module.js:337:11)
    at Function._load (module.js:279:25)
    at Array.0 (module.js:484:10)
    at EventEmitter._tickCallback (node.js:190:38)

and invoking mocha or other globally installed command line tools output:

$ mocha

module.js:337
    throw new Error("Cannot find module '" + request + "'");
          ^
Error: Cannot find module '*C:\cygdrive\c\*
Users\goebl\AppData\Roaming\npm\node_modules\mocha\bin\mocha'
    at Function._resolveFilename (module.js:337:11)
    at Function._load (module.js:279:25)
    at Array.0 (module.js:484:10)
    at EventEmitter._tickCallback (node.js:190:38)

I tried 'rebaseall' but with no effect (BTW I don't understand what it's 
doing).
I tried to set NODE_PATH to /cygdrive/c/Program\ Files 
\(x86\)/nodejs/node_modules with no effect.

Questions:


   1. Is there a quick solution for my setup?
   2. Would installing/compiling from source code be a/the only solution?
   3. Is there anybody who managed to use node in Cygwin?

Sorry for getting on your nerves - I have the feeling that izs doesn't like 
Cygwin very much ;-)
But I don't like the Windows cmd.exe and running Linux here at work is no 
option :-((

Thnx!

-- 
Heinrich Goebl

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" 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/nodejs?hl=en?hl=en

Reply via email to