blezek / file-mode

Atom.io package to set syntax mode based on comment string (-*- mode: MODE -*-)
Other
0 stars 3 forks source link

Failed to activate the file-mode package #3

Open seanb4t opened 9 years ago

seanb4t commented 9 years ago

[Enter steps to reproduce below:]

  1. install and start atom

Atom Version: 0.209.0 System: Mac OS X 10.10.4 Thrown From: file-mode package, v1.0.1

Stack Trace

Failed to activate the file-mode package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (/Users/sean/.atom/packages/file-mode/lib/file-mode.coffee:17:32)
    at Object.<anonymous> (/Users/sean/.atom/packages/file-mode/lib/file-mode.coffee:49:18)
    at Object.<anonymous> (/Users/sean/.atom/packages/file-mode/lib/file-mode.coffee:51:4)
    at Module._compile (module.js:452:26)
    at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
    at Module.load (module.js:347:32)
    at Function.Module._load (module.js:302:12)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:709:34)
    at Package.module.exports.Package.activateConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:257:12)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:236:14)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:772:25
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:219:20)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)

Commands

     -0:23.4.0 core:select-all (atom-text-editor.editor.is-focused)
     -0:23.1.0 core:copy (atom-text-editor.editor.is-focused)
     -0:00.5.0 file-mode:load (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.3.0
atom-handlebars, v0.5.0
color-picker, v2.0.4
editorconfig, v1.0.0
file-icons, v1.5.7
file-mode, v1.0.1

# Dev
No dev packages