I can't open Atom for mac


Uncaught Exception:
Error: Command failed: defaults read -g AppleLocale
2015-08-28 12:29:35.914 defaults[6324:1402110]
The domain/default pair of (kCFPreferencesAnyApplication, AppleLocale) does not exist

at checkExecSyncError (child_process.js:1334:13)
at execFileSync (child_process.js:1354:13)
at Function.module.exports.sync (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/yargs/node_modules/os-locale/index.js:87:11)
at Argv (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/yargs/index.js:22:22)
at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/yargs/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)
at Module.require (module.js:357:17)


this’s just happened when I first open it.


Could you give the following information?

  • Which version of Atom are you using?
  • What OS and version are you running?
  • From where did you download Atom?
  • How did you install Atom?


This should be fixed in Atom v1.0.9

  • Fixed an issue on Mac where Atom would fail to launch when executing the defaults or locale command failed.


v1.0.8, but it doesn’t appear in v1.0.9.


Thank you.