-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation of the Twokeys server fails #15
Comments
Hello there,
I'm going to try spinning up a Windows Docker container and trying to install myself to see if I can replicate the issue. |
Awesome - it's also worth noting I'm following some of the suggestions in nodejs/node-gyp#119 for the other error, but that is persisting too. |
Ok, so upon running the container, I get an entirely different error when running In the meanwhile, I would like to just kindly confirm: you are Python 2.7? And when you run If you want to, you can optionally try building the 2Keys server from scratch:
BTW, you're using the same version of |
Yeah - I sorted the Python issue before I opened this issue. I (have three versions of Python on this machine, 3.7x64, 3.7x32 and 2.15. I had a PATH variable set to one of the 3.7 versions, which was causing issues during installation so I replaced that variable with one for Python 2, which worked. Here's the output from Yarn:
How do I then run the server from this? |
if you run |
(not regarding the from scratch install you just did) By the looks of things, the global installer is causing a problem. Try running |
I ran both
When then running
|
Right, so by the looks of things the issues with the global installer are that the source files aren't being packaged with the application, so I'll need to go and investigate that. For the from scratch install, could you run |
|
Ah - can you confirm what you mean by from scratch? I assume you mean from the source? |
Ah yes, sorry, scratch = source. I really should be saying "from source"! |
Ah, It appears I forgot to tell you to also build the typescript source ( |
It failed.
|
Try |
|
|
Still broken.
|
Ok so I just ran the build commands on my end in my working code repo, and I got exactly what you are getting (which hasn't been touched since the last release) Summary of issues to look into:
Probably will have to look into this later, but I'll push 2Keys to the top of my priority list. |
Just downloaded the tarball from npm, it appears this is true |
PR: #17 |
PR was merged, source build should now work, and global install should work |
Looks like it worked - thanks! |
You're welcome! I'll post back here once the global install has been published! |
When running
npm install --global twokeys-server
during the setup as documented in SETUP.md, I end up with this:Any help would be much appreciated.
Also - because I already had Python 3.7 installed and in my PATH variables, the installer was attempting to use that, causing a syntax error.
The text was updated successfully, but these errors were encountered: