Closed andytudhope closed 7 years ago
you are cloning the wrong repo. use git clone git@github.com:Bit-Nation/pangea-electron.git
I think the instructions in the readme are misleading.
git clone git@github.com:Bit-Nation/pangea-electron.git
Cloning into 'pangea-electron'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
okay, your ssh is not set up right...
but you can do it over http instead
git clone https://github.com/Bit-Nation/pangea-electron.git
then do npm run postinstall
then npm run release
OK. Am doing this now. Can we update the installation documents? Especially the commands to get the latest version of patchwork? Should I not be running npm install
first before the postinstall?
yes but I think you already ran that. Lets figure out what the right instructions are first.
OK, here is what worked for me (though not sure about how necessary the postinstall step was, seemed to give much the same output as npm install
:
git clone https://github.com/Bit-Nation/pangea-electron.git
cd pangea-electron
npm install
npm run postinstall
npm run release
And then the usual Mac thing of double clicking the .dmg file, moving it across to the applications folder and opening it from there.
great! can you upload the files it created to https://github.com/Bit-Nation/pangea-electron/releases/tag/2.12.6 ? (used "edit release" button) @xstt you should be able to install those files then.
The weird thing is that there is an ./app/
folder which has it's own package.json and the postinstall script goes into that and runs install there too.
lets keep the issue open until we are 100% sure this is working, i.e. when it's installed on @xstt's laptop
I think that it is now? If not it's because the dmg isn't signed and she hasn't altered her security settings. I cannot sign the dmg with this computer and the developer account it has associated with it for reasons given in our slack. Perhaps someone else can follow my steps and sign it for us?
Also, have set up my ssh keys correctly now (there was some confusion over an old device) and also we should see if we can put these releases on git ssb (that shit is cool - thanks!)
Issue fixed, closing
The commands I ran on Mac OSX:
then everything installed fine as far as I can tell, followed by these two warnings:
NPM link seemed to work OK:
But then there is no
~/pangea-electron/app
directory and no release script? Also checked for a~/.pangea-electron/app
directory and found nothing. Not sure where to go from here.No app directory under electron/ either, in case that dir was just renamed.