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 load the file-mode package #12

Open wsgac opened 6 years ago

wsgac commented 6 years ago

[Enter steps to reproduce:]

  1. Install the file-mode package

Atom: 1.21.1 x64 Electron: 1.6.15 OS: Ubuntu 16.04.3 Thrown From: file-mode package 1.0.1

Stack Trace

Failed to load the file-mode package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.activate (/packages/file-mode/lib/file-mode.coffee:11:23)
    at /packages/file-mode/lib/file-mode.coffee:32:16)
    at /packages/file-mode/lib/file-mode.coffee:3:1)
    at /packages/file-mode/lib/file-mode.coffee:3:1)
    at Module.get_Module._compile (/opt/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (/opt/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (/opt/atom/resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (/opt/atom/resources/app/src/package.js:903:35)
    at /opt/atom/resources/app/src/package.js:158:34
    at Package.module.exports.Package.measure (/opt/atom/resources/app/src/package.js:99:21)
    at Package.module.exports.Package.load (/opt/atom/resources/app/src/package.js:144:18)
    at PackageManager.loadAvailablePackage (/opt/atom/resources/app/src/package-manager.js:617:16)
    at PackageManager.loadPackage (/opt/atom/resources/app/src/package-manager.js:550:25)
    at PackageManager.activatePackage (/opt/atom/resources/app/src/package-manager.js:684:23)
    at /opt/atom/resources/app/node_modules/settings-view/lib/package-manager.js:535:35
    at exit (/opt/atom/resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
    at triggerExitCallback (/opt/atom/resources/app/src/buffered-process.js:338:17)
    at /opt/atom/resources/app/src/buffered-process.js:359:17
    at Socket.<anonymous> (/opt/atom/resources/app/src/buffered-process.js:220:15)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

Commands

     -3:22.5.0 pane:show-next-item (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -3:21 core:move-down (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -3:19.6.0 core:move-up (button.btn.btn-default.icon.icon-link-external)
     -2:58.5.0 core:confirm (input.hidden-input)
     -2:22.7.0 advanced-open-file:toggle (input.hidden-input)
  4x -2:21 editor:delete-to-beginning-of-word (input.hidden-input)
     -2:12.3.0 advanced-open-file:move-cursor-down (input.hidden-input)
     -2:11.6.0 core:confirm (input.hidden-input)
     -2:00.7.0 command-palette:toggle (input.hidden-input)
  9x -1:56 core:backspace (input.hidden-input)
     -1:48.5.0 editor:consolidate-selections (input.hidden-input)
     -1:48.5.0 core:cancel (input.hidden-input)
     -1:16.5.0 pane:show-previous-item (input.hidden-input)
  3x -1:15 pane:show-next-item (input.hidden-input)
  3x -1:09.6.0 editor:delete-to-beginning-of-word (input.hidden-input)
     -1:07.0 core:confirm (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.7 
atom-slime 2.8.0 
file-mode 1.0.1 
language-lisp 0.2.0 
lisp-paredit 0.6.0