Friday 14 April 2017

How do I fix Error: spawn UNKNOWN with node.js v7.8.0 on windows 10?

I'm getting an error on windows 10 when I try to run spawn

  var spawn = require('child_process').spawn;
  var child = spawn(path.join(__dirname, '../bin/run.js'), {}, {env: env});
  child.stdout.pipe(process.stdout);
  child.stderr.pipe(process.stderr);

Here is the error message. I couldn't find much about resolving this issue.

[14:58:15] Error: spawn UNKNOWN

I installed node with nvs which appears to be working fine for everything else.



via chovy

No comments:

Post a Comment