mbilker / cypher

:closed_lock_with_key: N1 PGP package
GNU General Public License v3.0
130 stars 12 forks source link

Where to start? #12

Closed sepehr closed 8 years ago

sepehr commented 8 years ago

I installed the plugin in ~/.nylas/packages but I cannot see where can I start using it?! Any pointers please?

mbilker commented 8 years ago

Thanks for trying out Cypher. What platform are you on? Do you have keys generated already?

mbilker commented 8 years ago

Does Cypher show up in Preferences? Could you check the log in Developer -> Open Developer Console?

sepehr commented 8 years ago

Thank you for writing the most essential plugin for the N1 so far!

I'm on OS X and I have a working GnuPG command line environment. Cypher does not show up on Preferences.

It might be because of the way I installed Cypher. I cloned the repo and installed the plugin manually, then it said Error: Running apm install failed to install package dependencies.. So I manually moved the package to ~/.nylas/packages and restarted Nylas. It now gets shown on the plugins page, enabled. But no preferences no nothing.

Developer console shows no errors upon restarting. But when tried to reinstall and re-enable the plugin the manual way, I got this:

Failed to load package named 'cypher'
/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:223 Error: Cannot find module 'libkeybase'
    at Module._resolveFilename (module.js:338:15)
    at Function.Module._resolveFilename (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/module-cache.js:373:52)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/keybase/store/keybase-store.js:4:24)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/settings/keybase-login-section.js:5:62)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/settings/preferences-component.js:3:38)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/main.js:3:89)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Package.module.exports.Package.requireMainModule (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:707:27)
    at /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:213:34
    at Package.module.exports.Package.measure (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:189:15)
    at Package.module.exports.Package.load (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:203:12)
    at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:502:16)
    at PackageManager.module.exports.PackageManager.enablePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:176:19)
    at Store.<anonymous> (/Applications/Nylas N1.app/Contents/Resources/app.asar/internal_packages/plugins/lib/packages-store.js:102:27)
    at EventEmitter.eventHandler (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36:22)
    at EventEmitter.emit (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/node_modules/eventemitter3/index.js:72:35)
    at Function.module.exports.trigger (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52:26)
    at Object.functor [as enablePackage] (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/createAction.js:32:56)
    at Package._onEnablePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/internal_packages/plugins/lib/package.js:52:35)
    at Object.invokeGuardedCallback (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactErrorUtils.js:27:12)
    at executeDispatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:79:21)
    at Object.executeDispatchesInOrder (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:102:5)
    at executeDispatchesAndRelease (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:43:22)
    at executeDispatchesAndReleaseTopLevel (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:54:10)
    at Array.forEach (native)
    at forEachAccumulated (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/forEachAccumulated.js:23:9)
    at Object.EventPluginHub.processEventQueue (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:259:7)
    at runEventQueueInBatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixin.js:18:18)
    at Object.ReactEventEmitterMixin.handleTopLevel [as _handleTopLevel] (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixin.js:34:5)
    at handleTopLevelWithoutPath (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:93:24)
    at handleTopLevelImpl (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:73:3)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingStrategy.js:62:19)
    at Object.batchedUpdates (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:94:20)
    at ReactEventListener.dispatchEvent (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:204:20)
/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:224 Cannot find module 'libkeybase' Error: Cannot find module 'libkeybase'(…)(anonymous function) @ /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:224module.exports.Package.measure @ /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:189module.exports.Package.load @ /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:203module.exports.PackageManager.loadPackage @ /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:502module.exports.PackageManager.enablePackage @ /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:176(anonymous function) @ packages-store.jsx:82eventHandler @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36emit @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/node_modules/eventemitte…:72module.exports.trigger @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52functor @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/createAction.js:32Package._onEnablePackage @ package.jsx:24invokeGuardedCallback @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactErrorUtils.js:27executeDispatch @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:79executeDispatchesInOrder @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:102executeDispatchesAndRelease @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:43executeDispatchesAndReleaseTopLevel @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:54forEachAccumulated @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/forEachAccumulated.js:23EventPluginHub.processEventQueue @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:259runEventQueueInBatch @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixi…:18ReactEventEmitterMixin.handleTopLevel @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixi…:34handleTopLevelWithoutPath @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:93handleTopLevelImpl @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:73Mixin.perform @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136ReactDefaultBatchingStrategy.batchedUpdates @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingS…:62batchedUpdates @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:94ReactEventListener.dispatchEvent @ /Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:204
/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:301 Cannot find module 'libkeybase'
/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:302 Error: Cannot find module 'libkeybase'
    at Module._resolveFilename (module.js:338:15)
    at Function.Module._resolveFilename (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/module-cache.js:373:52)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/keybase/store/keybase-store.js:4:24)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/settings/keybase-login-section.js:5:62)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/settings/preferences-component.js:3:38)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/main.js:3:89)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Package.module.exports.Package.requireMainModule (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:707:27)
    at Package.module.exports.Package.activateConfig (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:313:12)
    at Package.module.exports.Package.activateNow (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:291:14)
    at /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:280:28
    at Package.module.exports.Package.measure (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:189:15)
    at Package.module.exports.Package.activate (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:274:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:604:21)
    at /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:459:19
    at /Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:618:20
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Config.module.exports.Config.emitChangeEvent (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:782:29)
    at Config.module.exports.Config.setRawValue (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:595:19)
    at Config.module.exports.Config.set (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:255:14)
    at Config.module.exports.Config.removeAtKeyPath (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:406:12)
    at Package.module.exports.Package.enable (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:174:30)
    at PackageManager.module.exports.PackageManager.enablePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:178:14)
    at Store.<anonymous> (/Applications/Nylas N1.app/Contents/Resources/app.asar/internal_packages/plugins/lib/packages-store.js:102:27)
    at EventEmitter.eventHandler (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36:22)
    at EventEmitter.emit (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/node_modules/eventemitter3/index.js:72:35)
    at Function.module.exports.trigger (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52:26)
    at Object.functor [as enablePackage] (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/createAction.js:32:56)
    at Package._onEnablePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/internal_packages/plugins/lib/package.js:52:35)
    at Object.invokeGuardedCallback (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactErrorUtils.js:27:12)
    at executeDispatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:79:21)
    at Object.executeDispatchesInOrder (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:102:5)
    at executeDispatchesAndRelease (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:43:22)
    at executeDispatchesAndReleaseTopLevel (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:54:10)
    at Array.forEach (native)
    at forEachAccumulated (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/forEachAccumulated.js:23:9)
    at Object.EventPluginHub.processEventQueue (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:259:7)
    at runEventQueueInBatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixin.js:18:18)
    at Object.ReactEventEmitterMixin.handleTopLevel [as _handleTopLevel] (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixin.js:34:5)
    at handleTopLevelWithoutPath (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:93:24)
    at handleTopLevelImpl (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:73:3)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingStrategy.js:62:19)
    at Object.batchedUpdates (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:94:20)
    at ReactEventListener.dispatchEvent (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:204:20)
/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:303 Failed to activate package named 'cypher' Error: Cannot find module 'libkeybase'
    at Module._resolveFilename (module.js:338:15)
    at Function.Module._resolveFilename (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/module-cache.js:373:52)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/keybase/store/keybase-store.js:4:24)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/settings/keybase-login-section.js:5:62)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/settings/preferences-component.js:3:38)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/Sepehr/.nylas/packages/cypher/lib/main.js:3:89)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/compile-cache.js:204:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Package.module.exports.Package.requireMainModule (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:707:27)
    at Package.module.exports.Package.activateConfig (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:313:12)
    at Package.module.exports.Package.activateNow (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:291:14)
    at /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:280:28
    at Package.module.exports.Package.measure (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:189:15)
    at Package.module.exports.Package.activate (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:274:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:604:21)
    at /Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:459:19
    at /Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:618:20
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Config.module.exports.Config.emitChangeEvent (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:782:29)
    at Config.module.exports.Config.setRawValue (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:595:19)
    at Config.module.exports.Config.set (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:255:14)
    at Config.module.exports.Config.removeAtKeyPath (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/config.js:406:12)
    at Package.module.exports.Package.enable (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package.js:174:30)
    at PackageManager.module.exports.PackageManager.enablePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/src/package-manager.js:178:14)
    at Store.<anonymous> (/Applications/Nylas N1.app/Contents/Resources/app.asar/internal_packages/plugins/lib/packages-store.js:102:27)
    at EventEmitter.eventHandler (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36:22)
    at EventEmitter.emit (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/node_modules/eventemitter3/index.js:72:35)
    at Function.module.exports.trigger (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52:26)
    at Object.functor [as enablePackage] (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/reflux/src/createAction.js:32:56)
    at Package._onEnablePackage (/Applications/Nylas N1.app/Contents/Resources/app.asar/internal_packages/plugins/lib/package.js:52:35)
    at Object.invokeGuardedCallback (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactErrorUtils.js:27:12)
    at executeDispatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:79:21)
    at Object.executeDispatchesInOrder (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginUtils.js:102:5)
    at executeDispatchesAndRelease (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:43:22)
    at executeDispatchesAndReleaseTopLevel (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:54:10)
    at Array.forEach (native)
    at forEachAccumulated (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/forEachAccumulated.js:23:9)
    at Object.EventPluginHub.processEventQueue (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/EventPluginHub.js:259:7)
    at runEventQueueInBatch (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixin.js:18:18)
    at Object.ReactEventEmitterMixin.handleTopLevel [as _handleTopLevel] (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventEmitterMixin.js:34:5)
    at handleTopLevelWithoutPath (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:93:24)
    at handleTopLevelImpl (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:73:3)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/Transaction.js:136:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactDefaultBatchingStrategy.js:62:19)
    at Object.batchedUpdates (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactUpdates.js:94:20)
    at ReactEventListener.dispatchEvent (/Applications/Nylas N1.app/Contents/Resources/app.asar/node_modules/react/lib/ReactEventListener.js:204:20)
mbilker commented 8 years ago

I have seen this error twice. I am investigating. Key generation is not built yet nor key management. Since you are on OS X and have GPG you are set in that regard.

sepehr commented 8 years ago

Thank you Matt.

mbilker commented 8 years ago

I pushed a new commit.

mbilker commented 8 years ago

Updating the kbpgp version and removes libkeybase since Cypher does not depend on it anymore.

sepehr commented 8 years ago

I made it work Matt. I don't think it's Cypher-related. I cd to the plugin directory and ran npm install manually. It installed the dependencies and now Cypher preferences window is here!

Thanks.

mbilker commented 8 years ago

Yeah I have to figure out why. I will try working with APM to see if it installs correctly, also if it installs the unnecessary developer dependencies (i.e. babel) on user installations.

sepehr commented 8 years ago

I'm having the same issue with other plugins as well. I don't think it's Cypher related.

sepehr commented 8 years ago

Now with the new commit, I'm getting Error: Cannot find module 'libkeybase'. I think it's buggy and the dependency is still there.

I ran git reset --hard HEAD~ along with another npm install and now it's working.

mbilker commented 8 years ago

Okay I didn't check what I was doing. It is required in KeybaseStore. Sorry. Fixed in f62f05c