A JavaSCript error occured in the browser process


#1

Hi,

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
(C:\users\myuser\AppData\Local\atom\app-1.0.8\resources\app.asar\node_modules\yargs\nod_modules\os-locale\index.js:78:16)
at Argv
(C:\users\myuser\AppData\Local\atom\app-1.0.8\resources\app.asar\node_modules\yargs\index.js:22:22)
at Object.
(C:\users\myuser\AppData\Local\atom\app-1.0.8\resources\app.asar\node_modules\yargs\nod_modules\os-locale\index.js:10:1)
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.

Thanks!


#2

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:


#3

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.