Closed terotil closed 10 years ago
Looks like the cause is https://github.com/c4milo/node-webkit-agent/blob/master/index.js#L32
this.proxy = spawn('node', [__dirname + '/webkit-devtools-agent.js',
this.port, this.bind_to, this.ipc_port,
this.verbose], process.argv, {
env: process.env,
cwd: __dirname
});
which assumes node executable name is "node", which does not hold for Debian, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597571
Simple sudo ln -s /usr/bin/nodejs /usr/local/bin/node
works around this.
hm, oh debian debian debian. Let me see what I can do. Thanks for reporting this issue!
@terotil did you try installing the nodejs-legacy package instead? see discussion: https://github.com/joyent/node/issues/4772
@terotil I think this is a "won't fix". It is debian's issue. Unless you think otherwise.
Didn't know about nodejs-legacy. Surprising that the respective bug doesn't mention package. For me this ticket is "won't fix, install nodejs-legacy".
@terotil thanks!
Wanted to try this out on Debian Jessie, nodejs, npm and nodejs-dev packages installed
The
server.js
isLine 2 is the offending one.