A JavaSCript error occured in the browser process



I was using Atom fine earlier, then when I went to boot it up, it’s giving me this error:

"A JavaScript error occured in the browser process
Uncaught Exception:
Error: spawnSync wmic ENOENT
at exports._errnoException (util.js:734:11)
at spawnSync (child_process.js:1313:20)
at execFileSync (child_process.js.1349:13)
at Function.module.exports.sync
at Argv
at Object.
at Module._compile (module.js:452:26)
at Object.Module._extensions…js (module.js:470:10)
at Module.load (module.js:347:32)
at Function.Module._load (module.js:302:12)

Any suggestions? It’s giving me that error when I try to uninstall it as well… I am running Windows 7.



I’m getting this error too (also on Windows 7), after an update to atom 1.0.8. For now, rolling back to 1.0.7.

Edit: I’ve opened a bug:


Thanks for opening the issue on the repo, @mnewland.
Looks like that triggered an immediate response from the author of the offending yargs npm package, and all should be fixed with Atom .109 now.