Skip to content
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

Is it even possible to complete this using Windows 10? npm run nxt #53

Open
Talismanx opened this issue Mar 11, 2021 · 1 comment
Open

Comments

@Talismanx
Copy link

Hey there, been at this for many days and I've been running into tons of problems here with npm run nxt and "downloadJPLSnapshot" not showing up despite being added to the nxt.properties file.

Is the NXT server supposed to launch after doing npm run nxt or do you execute these commands then launch the vanilla NXT server, or are those commands directly supposed to start an NXT client simply from executing?

If I try npm run nxt http://localhost:7876/index.html will not open properly, but if I execute the commands then launch my own NXT server it seemed to work with http://localhost:7876/index.html and it did start downloading the blockchain which makes it seem like I was doing this the proper way, however the guide leads me to believe NXT should somehow start after npm run nxt which is not happening, so the command must not be working for me.

I've tried everything listed to get npm run nxt to execute but it doesn't seem like it does properly.

I've used Git Bash, Anaconda, Python, CMD prompt and none of these are able to execute the npm run nxt command.

If I try to run the compile file (by double clicking) it says Compiling core... then something about unknown java file, I have java 8 installed. JRE, do you need the JRE or JDK because this is not stated in the guide?

Then I run run.bat as admin (by clicking) and two git bash/command prompts seem to flash on the screen then nothing happens.

If I try to do the npm run nxt in Git Bash I get an error similar to this from this Issue
https://github.com/sandoche/Proof-of-Stake-Cryptocurrency-generator/issues/11
`npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] nxt: cd nxt ; sh ./compi le.sh ; sh ./run.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] nxt script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Hexa\AppData\Roaming\npm-cache_logs\2018-05-08T17_06_11_0 12Z-debug.log`

sh ./win-compile.sh does not work for me at all in Git Bash

@sandoche
Copy link
Owner

What error do you get when you do this?
https://github.com/sandoche/Proof-of-Stake-Cryptocurrency-generator#windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants