sandoche / Proof-of-Stake-Cryptocurrency-generator

🍀 Create your own Proof of Stake cryptocurrency with its own blockchain based on NXT
https://coingenerator.sh
MIT License
360 stars 438 forks source link

Windows compile issues & missing win-compile.sh #62

Open vader-valencia opened 3 years ago

vader-valencia commented 3 years ago

Hi @sandoche,

Thank you for creating this cryptocurrency generator. I am running this from a windows machine, and get tons of errors when I attempt to npm run nxt (truncated error below). I attempted to follow the troubleshooting steps as you suggest in the how-to, but I was unable to locate the win-compile.sh file after git clone & npm install.

Can you advise as you what I need to do to get this to work in windows 10?

Thank you for your consideration.

==========================================

symbol: class JSONStreamAware location: class JSONResponses src\java\nxt\http\JSONResponses.java:36: error: cannot find symbol public static final JSONStreamAware INCORRECT_PUBLIC_KEY = incorrect("publicKey"); ^ symbol: class JSONStreamAware location: class JSONResponses Note: src\java\nxt\http\APIEnum.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors Starting default mode Error: Could not find or load main class nxt.Nxt ←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m ←[0m←[35mcode←[0m ELIFECYCLE ←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m ←[0m←[35merrno←[0m 1 ←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m proof-of-stake-cryptocurrency-generator@1.0.0 nxt: cd nxt ; sh ./compile.sh ; sh ./run.sh ←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m Exit status 1 ←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m
←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m Failed at the proof-of-stake-cryptocurrency-generator@1.0.0 nxt script. ←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m This is probably not a problem with npm. There is likely additional logging output above. ←[0m ←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m A complete log of this run can be found in: ←[0m←[37;40mnpm←[0m ←[0m←[31;40mERR!←[0m←[35m←[0m
C:\Users\j22va\AppData\Roaming\npm-cache_logs\2021-05-16T02_25_00_766Z-debug.log ←[0m

sosmongare commented 3 years ago

I'm also getting the same error. I haven't gotten the solution yet