blezek / file-mode

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

Uncaught TypeError: undefined is not a function #1

Open lethean opened 9 years ago

lethean commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.177.0 System: linux 3.18.5-1-ARCH Thrown From: file-mode package, v1.0.1

Stack Trace

Uncaught TypeError: undefined is not a function

At /usr/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:126

TypeError: undefined is not a function
  at Object.module.exports.load (/home/lethean/.atom/packages/file-mode/lib/file-mode.coffee:19:86)
  at /home/lethean/.atom/packages/file-mode/lib/file-mode.coffee:9:34
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at /usr/share/atom/resources/app/src/workspace.js:535:25
  at _fulfilled (/usr/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:787:54)
  at self.promiseDispatch.done (/usr/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:816:30)
  at Promise.promise.promiseDispatch (/usr/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:749:13)
  at /usr/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:810:14
  at flush (/usr/share/atom/resources/app/node_modules/pathwatcher/node_modules/q/q.js:108:17)
  at process._tickCallback (node.js:364:11)

Commands

     -2:18.3 core:save (atom-text-editor.editor)
  7x -1:44.7 core:backspace (atom-text-editor.editor)
     -1:40.9 core:move-down (atom-text-editor.editor)
     -1:40.7 core:move-right (atom-text-editor.editor)
     -1:40.7 core:move-up (atom-text-editor.editor)
     -1:40.5 core:paste (atom-text-editor.editor)
  3x -1:39.7 core:move-up (atom-text-editor.editor)
     -1:39.1 core:select-down (atom-text-editor.editor)
     -1:38.9 core:backspace (atom-text-editor.editor)
     -1:38.3 core:move-down (atom-text-editor.editor)
     -1:38.2 core:select-down (atom-text-editor.editor)
     -1:38.1 core:backspace (atom-text-editor.editor)
     -1:37.4 core:save (atom-text-editor.editor)
     -0:38.0 release-notes:show (atom-text-editor.editor)
     -0:22.9 core:close (atom-text-editor.editor)
     -0:00.7 markdown-preview:toggle (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
build, v0.23.3
file-mode, v1.0.1
jshint, v1.2.0
language-protobuf, v0.2.1
project-manager, v1.15.5
switch-header-source, v0.12.0

# Dev
No dev packages

/cc @atom/core