mbilker / cypher

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

Installation instructions #16

Closed RommelTJ closed 8 years ago

RommelTJ commented 8 years ago

Sorry, but I'm unfamiliar with Javascript apps. How do you install the cypher plugin? Step-by-step instructions might be useful for people like me who are not familiar with how this works and too dumb to figure this out. 😖

I downloaded the cypher project and it saved to ~/Downloads/cypher-master, and then on Nylas N1 > Preferences > Plugins > Install Plugin, I pointed to that directory. I got an error message similar to this: https://github.com/mbilker/cypher/issues/15

I went through that issue and also https://github.com/mbilker/cypher/issues/13, but I must be doing something wrong. I also tried running npm install --production but it made no difference.

I am on OS X 10.11.5, Nylas N1 0.4.40-85cf726, and GPG Suite v2015.09.

Thanks for developing this great plugin!

mbilker commented 8 years ago

Hey, try deleting the node_modules folder and then running npm install --production. Could you give me the output of the npm command?

I am getting sick of this bug.

mbilker commented 8 years ago

I fixed most of the issues with the other issues, but apm seems to hate git stuff.

Also, do you have git installed?

RommelTJ commented 8 years ago

I deleted node_modules. Here is the output of npm install --production.

RR-Macbook:cypher-master rommelrico$ npm install --production
uuid@2.0.2 node_modules/uuid

smalltalk@1.6.5 node_modules/smalltalk

rimraf@2.5.2 node_modules/rimraf
└── glob@7.0.3 (path-is-absolute@1.0.0, inherits@2.0.1, inflight@1.0.5, once@1.3.3, minimatch@3.0.0)

mimelib@0.2.19 node_modules/mimelib
├── addressparser@0.3.2
└── encoding@0.1.12 (iconv-lite@0.4.13)

request@2.72.0 node_modules/request
├── is-typedarray@1.0.0
├── oauth-sign@0.8.2
├── forever-agent@0.6.1
├── aws-sign2@0.6.0
├── tunnel-agent@0.4.3
├── caseless@0.11.0
├── stringstream@0.0.5
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├── extend@3.0.0
├── aws4@1.4.1
├── node-uuid@1.4.7
├── combined-stream@1.0.5 (delayed-stream@1.0.0)
├── qs@6.1.0
├── tough-cookie@2.2.2
├── mime-types@2.1.11 (mime-db@1.23.0)
├── form-data@1.0.0-rc4 (async@1.5.2)
├── bl@1.1.2 (readable-stream@2.0.6)
├── http-signature@1.1.1 (assert-plus@0.2.0, jsprim@1.2.2, sshpk@1.8.3)
├── har-validator@2.0.6 (pinkie-promise@2.0.1, commander@2.9.0, chalk@1.1.3, is-my-json-valid@2.13.1)
└── hawk@3.1.3 (cryptiles@2.0.5, sntp@1.0.9, boom@2.10.1, hoek@2.16.3)

libkeybase@1.2.24 node_modules/libkeybase
├── iced-lock@1.0.2
├── iced-error@0.0.9
├── iced-runtime@1.0.3
├── pgp-utils@0.0.30
├── iced-logger@0.0.5 (colors@0.6.2)
├── merkle-tree@0.0.14 (deep-equal@0.2.2)
├── iced-utils@0.1.24
├── keybase-proofs@2.0.47
└── triplesec@3.0.25 (progress@1.1.8, more-entropy@0.0.7)

emailjs-mime-parser@1.0.0 node_modules/emailjs-mime-parser
├── emailjs-addressparser@1.0.1
└── emailjs-mime-codec@1.0.2 (emailjs-stringencoding@1.0.1)

node-keybase@0.0.5 node_modules/node-keybase
├── async-each@0.1.6
├── iced-error@0.0.9
├── iced-runtime@1.0.3
├── iced-spawn@0.0.10 (semver@2.2.1)
├── gpg-wrapper@0.0.47 (pgp-utils@0.0.30, iced-utils@0.1.24)
├── triplesec@3.0.25 (iced-lock@1.0.2, progress@1.1.8, more-entropy@0.0.7)
└── kbpgp@1.2.0 (deep-equal@1.0.1, keybase-ecurve@1.0.0, pgp-utils@0.0.30, tweetnacl@0.12.2, bn@1.0.1, purepack@1.0.4, keybase-compressjs@1.0.1-c)

kbpgp@2.0.54 node_modules/kbpgp
├── bzip-deflate@1.0.0
├── iced-lock@1.0.2
├── deep-equal@1.0.1
├── iced-error@0.0.9
├── keybase-ecurve@1.0.0
├── iced-runtime@1.0.3
├── minimist@1.2.0
├── pgp-utils@0.0.30
├── tweetnacl@0.13.3
├── bn@1.0.1
├── purepack@1.0.4
├── keybase-nacl@1.0.2
└── triplesec@3.0.25 (progress@1.1.8, more-entropy@0.0.7)

lodash@4.13.1 node_modules/lodash

I am using git version 2.7.4 (Apple Git-66).

mbilker commented 8 years ago

That looks about right. Are there any errors in the Developer Console (Menu Bar -> Developer -> Show Developer Tools) related to Cypher?

RommelTJ commented 8 years ago

Uhhhh.... not sure what to tell you, but when I was trying to give you the logs, I selected Debug flags and it rebooted Nylas and now I can see the Cypher plugin installed and it looks like I can use with no issue.... So I guess issue resolved... 😕

mbilker commented 8 years ago

That is strange. I run N1 in developer mode and really only use Cypher to decrypt email. The Nylas team is working on PGP support that is way better than Cypher. I have become busy with other tasks and Cypher has been put on the backburner.