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)
[Enter steps to reproduce:]
file-mode
packageAtom: 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
Commands
Non-Core Packages