My Atom Install blew up


#1

Im not sure what happened, but im suspecting it is related to Dropbox sync.
My .Atom folder is synced using Dropbox, so that I can share my configuration between machines. Yesterday Dropbox was acting up (again) and since then Atom refuses to restart, giving me error like:

TypeError: Cannot read property 'context-menu' of undefined
  at Package.module.exports.Package.activateResources (/Applications/Atom.app/Contents/Resources/app/src/package.js:210:43)
  at /Applications/Atom.app/Contents/Resources/app/src/package.js:143:19
  at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:95:15)
  at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:141:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:109:21)
  at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:98:14)
  at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:85:19)
  at Atom.module.exports.Atom.startEditorWindow (/Applications/Atom.app/Contents/Resources/app/src/atom.js:349:21)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:14:8)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:20:4)
  at Module._compile (module.js:455:26)
  at Object.Module._extensions..js (module.js:473:10)
  at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at window.onload (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:20:5)

Any idea how can I recover from this?


#2

Ok, reinstalling all the packages one by one allowed me to discover it wasn’t Dropbox’s fault, but the package available-snippets which i’ve discovered is since yesterday part of the official snippets package.