go-plus icon indicating copy to clipboard operation
go-plus copied to clipboard

Failed to activate the go-plus package

Open ioriiod0 opened this issue 11 years ago • 26 comments

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.209.0 System: Mac OS X 10.10.1 Thrown From: go-plus package, v3.3.11

Stack Trace

Failed to activate the go-plus package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
  at new Gofmt (/Users/ioriiod0/.atom/packages/go-plus/lib/gofmt.coffee:12:24)
  at new Dispatch (/Users/ioriiod0/.atom/packages/go-plus/lib/dispatch.coffee:36:18)
  at Object.module.exports.createDispatch (/Users/ioriiod0/.atom/packages/go-plus/lib/go-plus.coffee:28:7)
  at Object.module.exports.activate (/Users/ioriiod0/.atom/packages/go-plus/lib/go-plus.coffee:17:21)
  at Package.module.exports.Package.activateNow (/Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
  at /Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/package.js:221:30
  at Package.module.exports.Package.measure (/Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)
  at Package.module.exports.Package.activate (/Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/package.js:213:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/package-manager.js:452:21)
  at /Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:306:60
  at exit (/Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:53:16)
  at triggerExitCallback (/Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
  at /Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
  at Socket.<anonymous> (/Users/ioriiod0/Downloads/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:166:7)
  at Pipe.close (net.js:464:12)

Commands

     -1:22.6.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-solarized-dark-syntax.theme-seti-ui)
     -0:38.6.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
  3x -0:36.4.0 editor:newline (atom-text-editor.editor.is-focused)
 11x -0:34.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:33.3.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -0:32.8.0 core:backspace (atom-text-editor.editor.is-focused)

Config

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

Installed Packages

# User
go-plus, v3.3.11
seti-ui, v0.3.5

# Dev
No dev packages

ioriiod0 avatar Jun 17 '15 13:06 ioriiod0

This should be fixed by updating atom and go-plus.

joefitzgerald avatar Jul 06 '15 15:07 joefitzgerald

@joefitzgerald I'm getting this issue all of a sudden after upgrading to the latest version of go-plus, FYI.

cyphercider avatar Dec 21 '16 16:12 cyphercider

I'm only getting this since I updated atom and go-plus to the latest version

haswalt avatar Jan 17 '17 10:01 haswalt

Does someone have time to screen share today to show me this happening? If so, please hop on slack and DM me.

joefitzgerald avatar Jan 17 '17 13:01 joefitzgerald

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.13.0 Electron Version: 1.3.13 System: Mac OS X 10.12.1 Thrown From: go-plus package, v5.1.0

Stack Trace

Failed to activate the go-plus package

At Cannot find module './../promise'

Error: Cannot find module './../promise'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/bauer/.atom/packages/go-plus/lib/get/get-manager.js:5:20)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/bauer/.atom/packages/go-plus/lib/get/service.js:9:19)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.provideGoGet (/Users/bauer/.atom/packages/go-plus/lib/main.js:380:22)
    at Object.loadPackageManager (/Users/bauer/.atom/packages/go-plus/lib/main.js:335:75)
    at Object.load (/Users/bauer/.atom/packages/go-plus/lib/main.js:81:12)
    at Bootstrap.onActivated (/Users/bauer/.atom/packages/go-plus/lib/main.js:40:13)
    at Bootstrap.check (/Users/bauer/.atom/packages/go-plus/lib/bootstrap.js:101:16)
    at Bootstrap.setGrammarUsed (/Users/bauer/.atom/packages/go-plus/lib/bootstrap.js:82:12)
    at /Users/bauer/.atom/packages/go-plus/lib/bootstrap.js:68:18
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:329:9)
    at Bootstrap.subscribeToEvents (/Users/bauer/.atom/packages/go-plus/lib/bootstrap.js:66:45)
    at new Bootstrap (/Users/bauer/.atom/packages/go-plus/lib/bootstrap.js:30:10)
    at Object.activate (/Users/bauer/.atom/packages/go-plus/lib/main.js:37:22)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:191:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:892:28
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:563:50
    at Set.forEach (native)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:561:41)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:439:29
    at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:299:11)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:312:11
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:181:9)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

Commands

     -0:52.9.0 core:confirm (input.hidden-input)

Config

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

Installed Packages

# User
autocomplete-python, v1.8.26 (active)
go-plus, v5.1.0 (inactive)
godef, v0.2.5 (inactive)
kite, v0.6.4 (active)
vim-mode-plus, v0.80.0 (active)
vim-mode-plus-ex-mode, v0.7.1 (inactive)
atom-dark-syntax, v0.28.0 (active)
atom-dark-ui, v0.53.0 (active)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (inactive)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

bauer1j avatar Jan 19 '17 02:01 bauer1j

Same Error here after updating go-plus package. Atom Version: 1.13.0 System: Windows 10 Thrown From: go-plus package, v5.1.0

Failed to activate the go-plus package Invalid or unexpected token

SyntaxError: Invalid or unexpected token
    at Module._compile (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\native-compile-cache.js:79:40)
    at Object.value [as .js] (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:766:27)
    at Package.module.exports.Package.activateNow (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:181:16)
    at C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:892:28
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:129:28)
    at C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:563:50
    at Set.forEach (native)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:561:41)
    at C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\settings-view\lib\package-manager.js:439:29
    at exit (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\settings-view\lib\package-manager.js:73:16)
    at triggerExitCallback (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:299:11)
    at C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:320:11
    at Socket.<anonymous> (C:\Users\user\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:181:9)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

falsecrypt avatar Jan 22 '17 00:01 falsecrypt

As an info. This only happens if you manually download the github version and extract it (into ~/.atom/packages). The version from the Atom package store works fine (at least this is the case for me).

ghost avatar Mar 06 '17 17:03 ghost

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64 Electron: 1.3.13 OS: Deepin 15.4.1 Thrown From: go-plus package 5.6.0

Stack Trace

Failed to activate the go-plus package

At uri.match is not a function

TypeError: uri.match is not a function
    at Project.module.exports.Project.resolvePath (/app.asar/src/project.js:330:29)
    at Workspace.open (/app.asar/src/workspace.js:522:30)
    at PanelManager.createPanel (/packages/go-plus/lib/panel/panel-manager.js:36:27)
    at /packages/go-plus/lib/panel/panel-manager.js:26:10)
    at Object.getPanelManager (/packages/go-plus/lib/main.js:325:25)
    at Object.consumeViewProvider (/packages/go-plus/lib/main.js:374:17)
    at Provider.module.exports.Provider.provide (/app.asar/node_modules/service-hub/lib/provider.js:34:52)
    at ServiceHub.module.exports.ServiceHub.consume (/app.asar/node_modules/service-hub/lib/service-hub.js:50:18)
    at Package.module.exports.Package.activateServices (/app.asar/src/package.js:404:75)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:221:16)
    at /app.asar/src/package.js:922:28
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28)
    at /app.asar/src/package-manager.js:563:50
    at Set.forEach (native)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:561:41)
    at /app.asar/node_modules/settings-view/lib/package-manager.js:484:29
    at exit (/app.asar/node_modules/settings-view/lib/package-manager.js:99:16)
    at triggerExitCallback (/app.asar/src/buffered-process.js:322:11)
    at /app.asar/src/buffered-process.js:343:11
    at /app.asar/src/buffered-process.js:204:9)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

Commands

     -5:45.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-monokai.theme-atom-dark-ui)
     -1:11.9.0 editor:select-to-first-character-of-line (input.hidden-input)
     -1:10.1.0 core:copy (input.hidden-input)
  3x -0:57.8.0 core:backspace (input.hidden-input)
     -0:56.7.0 core:paste (input.hidden-input)
     -0:56.4.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.5 
autocomplete-clang 0.11.3 
autocomplete-cmake 0.3.1 
busy-signal 1.4.3 
file-icons 2.1.7 
go-debug 1.3.2 
go-plus 5.6.0 
go-signature-statusbar 1.2.3 
hyperclick 0.1.3 
intentions 1.1.5 
language-cmake 0.3.0 
linter 2.2.0 
linter-clang 4.1.2 
linter-gcc 0.7.1 
linter-ui-default 1.2.4 
monokai 0.24.0 
platformio-ide-terminal 2.5.5 
Remote-FTP 0.10.7 
symbol-gen 1.3.1 
symbols-tree-view 0.14.0 

ryanorz avatar Nov 06 '17 07:11 ryanorz

@ghost you should use the apm develop go-plus command to facilitate the cloning of the source version of the package. Under the covers this also runs apm install in the go-plus directory, which is functionally equivalent to npm install.

joefitzgerald avatar Nov 06 '17 16:11 joefitzgerald

I can contradict @ghost, I only use the version from atom's installer, and I ran into this issue. That being said, upgrading my atom version corrected the issue.

james-lawrence avatar Nov 08 '17 12:11 james-lawrence

Getting the same thing. Nothing seems to help with the issue...

[Enter steps to reproduce:]

  1. Opened Atom
  2. Tried upgrading Atom to latest version and same thing.

Atom: 1.22.1 x64 Electron: 1.6.15 OS: Mac OS X 10.13.1 Thrown From: go-plus package 5.6.0

Stack Trace

Failed to activate the go-plus package

At Cannot find module '../path-exists'

Error: Cannot find module '../path-exists'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/go-plus/node_modules/fs-extra/lib/copy/copy.js:7:20)
    at /packages/go-plus/node_modules/fs-extra/lib/copy/copy.js:56:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/go-plus/node_modules/fs-extra/lib/copy/index.js:3:11)
    at /packages/go-plus/node_modules/fs-extra/lib/copy/index.js:6:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/go-plus/node_modules/fs-extra/lib/index.js:10:12)
    at /packages/go-plus/node_modules/fs-extra/lib/index.js:24:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/go-plus/lib/config/executor.js:5:45)
    at /packages/go-plus/lib/config/executor.js:186:17)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/go-plus/lib/config/service.js:9:17)
    at /packages/go-plus/lib/config/service.js:43:22)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at Object.provideGoConfig (/packages/go-plus/lib/main.js:388:29)
    at Package.module.exports.Package.activateServices (/Applications/Atom.app/Contents/Resources/app/src/package.js:443:75)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:256:22)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:1030:34
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PackageManager.triggerDeferredActivationHooks (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:712:40)
    at Promise.all.then (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:649:18)

Commands

Non-Core Packages

atom-shortcuts 0.0.2 
busy-signal 1.4.3 
go-debug 1.5.2 
go-plus 5.6.0 
go-signature-statusbar 1.2.3 
hyperclick 0.1.5 
intentions 1.1.5 
language-gradle 0.0.3 
language-yang 0.2.0 
linter 2.2.0 
linter-checkbashisms 0.1.5 
linter-flake8 2.2.1 
linter-rubocop 2.2.0 
linter-ui-default 1.6.10 
markdown-toc 0.4.2 
project-manager 3.3.5 
python-tools 0.6.9 
rst-preview-pandoc 0.1.12 
split-diff 1.5.1 
todo-show 2.1.0 
xml-formatter 0.11.0 

userlerueda avatar Nov 21 '17 04:11 userlerueda

I'm having this issue today after updating to the latest go-plus: [Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.0 x64 Electron: 1.6.15 OS: Mac OS X 10.12.6 Thrown From: go-plus package 5.7.0

Stack Trace

Failed to activate the go-plus package

At Cannot find module 'atom-babel6-transpiler' from '/Users/mprzyjazny/.atom/packages/go-plus'

Error: Cannot find module 'atom-babel6-transpiler' from '/Users/mprzyjazny/.atom/packages/go-plus'
    at /app.asar/node_modules/resolve/lib/sync.js:40:15)
    at PackageTranspilationRegistry.getTranspilerPath (/Applications/Atom.app/Contents/Resources/app/src/package-transpilation-registry.js:180:26)
    at PackageTranspilationRegistry.getCachePath (/Applications/Atom.app/Contents/Resources/app/src/package-transpilation-registry.js:131:39)
    at Object.getCachePath (/Applications/Atom.app/Contents/Resources/app/src/package-transpilation-registry.js:67:29)
    at compileFileAtPath (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:91:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:238:26)
    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 (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:937:35)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:244:22)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:1068:34
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PackageManager.triggerDeferredActivationHooks (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:717:40)
    at Promise.all.then (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:650:18)

Commands

Non-Core Packages

busy-signal 1.4.3 
go-debug 1.5.2 
go-plus 5.7.0 
go-signature-statusbar 1.2.3 
hyperclick 0.1.5 
intentions 1.1.5 
language-puppet 0.23.0 
linter 2.2.0 
linter-json-lint 0.1.2 
linter-puppet-lint 0.8.4 
linter-ui-default 1.6.10 
pretty-json 1.6.4 
split-diff 1.5.1 
vim-mode-plus 1.24.1 

mar10p avatar Dec 13 '17 18:12 mar10p

I'm also getting the same issue: Cannot find module 'atom-babel6-transpiler' from '/Users/mkunchenbecker/.atom/packages/go-plus' Hide Stack Trace Error: Cannot find module 'atom-babel6-transpiler' from '/Users/mkunchenbecker/.atom/packages/go-plus' at Function.module.exports [as sync] (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app.asar/node_modules/resolve/lib/sync.js:40:15) at PackageTranspilationRegistry.getTranspilerPath (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package-transpilation-registry.js:180:26) at PackageTranspilationRegistry.getCachePath (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package-transpilation-registry.js:131:39) at Object.getCachePath (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package-transpilation-registry.js:67:29) at compileFileAtPath (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/compile-cache.js:91:36) at Object.value [as .js] (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/compile-cache.js:238:26) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (file:///private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app.asar/static/index.js:47:45) at require (internal/module.js:20:19) at customRequire (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/static/:96:26) at Package.module.exports.Package.requireMainModule (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package.js:937:35) at Package.module.exports.Package.activateNow (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package.js:244:22) at /private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package.js:1068:34 at Function.module.exports.Emitter.simpleDispatch (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20) at Emitter.module.exports.Emitter.emit (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34) at triggeredActivationHooks.forEach.hook (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package-manager.js:705:86) at Set.forEach (native) at PackageManager.activatePackage (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/package-manager.js:705:43) at /private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:535:35 at exit (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:128:22) at triggerExitCallback (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/buffered-process.js:338:17) at ChildProcess. (/private/var/folders/3j/bm0ctj7j4k7cx7tq0zxxpsc00000gp/T/AppTranslocation/0C9AD024-1013-422A-94B8-E9916E89BDDF/d/Atom.app/Contents/Resources/app/src/buffered-process.js:368:17) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

mkuchenbecker avatar Dec 13 '17 18:12 mkuchenbecker

After upgrade of go-plus and restarting atom gives me this error.

Atom: 1.24.0-beta0 x64 Electron: 1.6.15 OS: Mac OS X 10.13.3 Thrown From: go-plus package 5.7.0

Stack Trace

Failed to activate the go-plus package

At Cannot find module 'atom-babel6-transpiler' from '/Users/nchillal/.atom/packages/go-plus'

Error: Cannot find module 'atom-babel6-transpiler' from '/Users/nchillal/.atom/packages/go-plus'
    at /app.asar/node_modules/resolve/lib/sync.js:40:15)
    at PackageTranspilationRegistry.getTranspilerPath (/Applications/Atom Beta.app/Contents/Resources/app/src/package-transpilation-registry.js:180:26)
    at PackageTranspilationRegistry.getCachePath (/Applications/Atom Beta.app/Contents/Resources/app/src/package-transpilation-registry.js:131:39)
    at Object.getCachePath (/Applications/Atom Beta.app/Contents/Resources/app/src/package-transpilation-registry.js:67:29)
    at compileFileAtPath (/Applications/Atom Beta.app/Contents/Resources/app/src/compile-cache.js:91:36)
    at Object.value [as .js] (/Applications/Atom Beta.app/Contents/Resources/app/src/compile-cache.js:238:26)
    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 (/Applications/Atom Beta.app/Contents/Resources/app/static/<embedded>:96:26)
    at Package.requireMainModule (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:782:33)
    at Package.activateNow (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:220:40)
    at activationHookSubscriptions.add.packageManager.onDidTriggerActivationHook (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:901:81)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PackageManager.triggerDeferredActivationHooks (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:717:40)
    at Promise.all.then (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:650:18)

Commands

Non-Core Packages

ariake-dark-syntax 0.1.3 
atom-clock 0.1.15 
atom-material-syntax 1.0.7 
atom-material-ui 2.0.6 
autocomplete-python 1.10.5 
busy-signal 1.4.3 
file-icons 2.1.14 
fonts 3.0.3 
go-debug 1.5.2 
go-imports 0.1.1 
go-plus 5.7.0 
go-signature-statusbar 1.2.3 
hyperclick 0.1.5 
intentions 1.1.5 
language-tmux 0.4.0 
linter 2.2.0 
linter-golinter 1.2.2 
linter-pycodestyle 2.1.3 
linter-ruby 1.2.6 
linter-shellcheck 1.4.6 
linter-tidy 2.3.1 
linter-ui-default 1.6.10 
nord-atom-syntax 0.9.1 
nord-atom-ui 0.11.0 
nucleus-dark-ui 0.12.3 
script 3.18.0 
sepia-syntax 1.1.0 
sync-settings 0.8.3 
vim-mode-plus 1.24.1 

nchillal avatar Dec 13 '17 18:12 nchillal

Sorry folks, try installing v5.7.1, which should fix the missing atom-babel6-transpiler dependency.

joefitzgerald avatar Dec 13 '17 19:12 joefitzgerald

That did it, thank you @joefitzgerald !

mar10p avatar Dec 13 '17 19:12 mar10p

@joefitzgerald I just installed 5.7.1 by cloning the repo and I got the same issue. I was able to checkout 5.6.0 and load in atom without any problems. Here is the stack trace:

Unexpected identifier
Hide Stack Trace
SyntaxError: Unexpected identifier
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:94:52)
    at Object.value [as .js] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (file:///usr/share/atom/resources/app/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at Object.loadImporter (/home/jackson/Vault/Projects/go-plus/main.js:126:24)
    at Object.load (/home/jackson/Vault/Projects/go-plus/main.js:87:10)
    at Bootstrap.bootstrap.Bootstrap [as onActivated] (/home/jackson/Vault/Projects/go-plus/main.js:38:12)
    at Bootstrap.check (/home/jackson/Vault/Projects/go-plus/bootstrap.js:99:14)
    at Bootstrap.setGrammarUsed (/home/jackson/Vault/Projects/go-plus/bootstrap.js:82:10)
    at subscriptions.add.atom.workspace.observeTextEditors.editor (/home/jackson/Vault/Projects/go-plus/bootstrap.js:70:14)
    at Workspace.observeTextEditors (/usr/share/atom/resources/app/src/workspace.js:717:15)
    at Bootstrap.subscribeToEvents (/home/jackson/Vault/Projects/go-plus/bootstrap.js:68:43)
    at new Bootstrap (/home/jackson/Vault/Projects/go-plus/bootstrap.js:39:10)
    at Object.activate (/home/jackson/Vault/Projects/go-plus/main.js:36:22)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app/src/package.js:253:25)
    at /usr/share/atom/resources/app/src/package.js:1014:34
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PackageManager.module.exports.PackageManager.triggerDeferredActivationHooks (/usr/share/atom/resources/app/src/package-manager.js:676:42)
    at /usr/share/atom/resources/app/src/package-manager.js:607:23

aldencolerain avatar Dec 15 '17 05:12 aldencolerain

@aldencolerain if you're installing via source then you need to run apm install to pull the correct versions of all dependencies

zmb3 avatar Dec 15 '17 18:12 zmb3

@zmb3 Thanks for taking a look. I did run apm install. As a matter of fact I'm pretty sure I had this issue when I installed through the atom interface not from source, but I'd have to try again to make sure there. I'm working of the 5.6.0 branch though so its not urgent for me, just wanted to pass along the report.

aldencolerain avatar Dec 15 '17 21:12 aldencolerain

For anyone else who is a total noob with Atom packages, this should get you back to the previous working version: apm install [email protected]

tekkamanendless avatar Dec 15 '17 21:12 tekkamanendless