Closed bbabel closed 8 years ago
Do you have more output for me? Do you have git
installed?
I cannot fix this issue if I do not know which dependency is failing.
I'm sorry. I don't know how to find the output for the install but this is the error log in the Plugin Specs:
index.js:25 Error: Cannot find module 'libkeybase'
at Module._resolveFilename (module.js:338:15)
at Function.Module._resolveFilename (/usr/share/nylas/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> (/home/babel/.nylas/packages/cypher-master/lib/keybase/store/keybase-store.js:4:24)
at Module._compile (module.js:425:26)
at Object.defineProperty.value [as .js] (/usr/share/nylas/resources/app.asar/src/compile-cache.js:204:21)
at Module.load (/usr/share/nylas/resources/app.asar/node_modules/coffee-react/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/home/babel/.nylas/packages/cypher-master/lib/settings/keybase-login-section.js:5:62)
at Module._compile (module.js:425:26)
at Object.defineProperty.value [as .js] (/usr/share/nylas/resources/app.asar/src/compile-cache.js:204:21)
at Module.load (/usr/share/nylas/resources/app.asar/node_modules/coffee-react/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/home/babel/.nylas/packages/cypher-master/lib/settings/preferences-component.js:3:38)
at Module._compile (module.js:425:26)
at Object.defineProperty.value [as .js] (/usr/share/nylas/resources/app.asar/src/compile-cache.js:204:21)
at Module.load (/usr/share/nylas/resources/app.asar/node_modules/coffee-react/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/home/babel/.nylas/packages/cypher-master/lib/main.js:3:89)
at Module._compile (module.js:425:26)
at Object.defineProperty.value [as .js] (/usr/share/nylas/resources/app.asar/src/compile-cache.js:204:21)
at Module.load (/usr/share/nylas/resources/app.asar/node_modules/coffee-react/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/home/babel/.nylas/packages/cypher-master/spec/main-spec.js:3:89)
at Module._compile (module.js:425:26)
at Object.defineProperty.value [as .js] (/usr/share/nylas/resources/app.asar/src/compile-cache.js:204:21)
at Module.load (/usr/share/nylas/resources/app.asar/node_modules/coffee-react/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at requireSpecs (/usr/share/nylas/resources/app.asar/spec/spec-suite.coffee:25:9)
at Object.<anonymous> (/usr/share/nylas/resources/app.asar/spec/spec-suite.coffee:95:5)
at Object.<anonymous> (/usr/share/nylas/resources/app.asar/spec/spec-suite.coffee:101:4)
at Module._compile (module.js:425:26)
at Object.loadFile (/usr/share/nylas/resources/app.asar/node_modules/coffee-react/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
at Module.load (/usr/share/nylas/resources/app.asar/node_modules/coffee-react/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at module.exports.runSpecSuite (/usr/share/nylas/resources/app.asar/spec/jasmine-helper.coffee:46:3)
at Object.<anonymous> (/usr/share/nylas/resources/app.asar/spec/spec-bootstrap.coffee:34:3)
at Object.<anonymous> (/usr/share/nylas/resources/app.asar/spec/spec-bootstrap.coffee:5:1)
at Module._compile (module.js:425:26)
at Object.defineProperty.value (/usr/share/nylas/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 setupWindow (file:///usr/share/nylas/resources/app.asar/static/index.js:67:3)
at window.onload (file:///usr/share/nylas/resources/app.asar/static/index.js:106:5)handleSetupError @ index.js:25
Hope this helps.
Do you have git
installed? Two dependencies require git
.
Yes, I'm using git 2.8.0-1 under Arch Linux.
Hmm. It failed to install some dependency.
Is there a way to install dependencies in a separate way?
Run npm install --production
in the plugin directory. I just pushed a change that uses a newer libkeybase
version that hopefully fixes that issue.
Correction. Run npm install --production
. I edited my previous post, but that doesn't send a new email.
I think that solved the install problem, although I got this warning:
npm WARN eslint-config-airbnb@6.2.0 requires a peer of eslint@^2.4.0 but none was installed
Now I can see this question when I click on a encrypted mail: "Which PGP key should be use for decryption of this message?" It doesn't show my private key but maybe that's something I have to configure first. If that's an issue I'll open another ticket. I think this one can be closed now.
Thanks.
Yes open another ticket. Currently, Linux and OS X default to GPG. On Arch Linux, install gnupg
. Then, create a key in the command line following https://wiki.archlinux.org/index.php/GnuPG#Create_key_pair.
Also about the npm WARN
I noticed that myself and fixed it before I saw your post.
I get this error when installing:
Error: Running apm install failed to install package dependencies.
Although I can see the plugin installed. I don't know what to do next or how to avoid the error.