Describe the bug
Downloaded .zip of code from https://github.com/skycoin/cx and extracted it. Running cx-setup dirrectly from folder closes console window in few seconds, even after removing NEX from previously reported issue. Run Command prompt and navigated to folder where cx-develop was extracted. Run cx-setup.bat in console and only then errors can be seen, since .bat file closes itself automatically when run from folder dirrectly. Would be useful to add stop command at end so user can see what needs to be fixed (i.e. change of PATH dirrectories). Error encountered at first try of cx-setup will be stated below.
To Reproduce
Steps to reproduce the behavior:
Remove Environment PATH from Windows machine for CX and GoLang
Open Command prompt and navigate to folder where cx-develop is extracted (i.e c:\Users\\Desktop\cx-develop)
Type: cx-setup.bat and wait for setup to finish.
Scroll back to ERROR parts and read them.
Errors that will be encountered are: ERROR:
ERROR: GOPATH not set! FIX IT!
....so we'll use C:\Users\tursi\go for Go's install path
ERROR: CX's workspace environment variable; CXPATH is not set! FIX IT!
....so we'll use C:\Users\tursi\cx for CX's workspace
ERROR: Your PATH var needs C:\Users\tursi\OneDrive\Desktop\CX Setup changes\bin
Expected behavior
Installation of CX and its tests
Screenshots
Desktop:
OS: Windows 10
CX Version 0.7.1
Additional context
Documentation should include setup beforehand. User must install GoLang and set PATH on Envrionment Variables. Quick simple steps on how to do should be provided, so first 3 errors can be avoided. CXPATH and GOPATH are important for installation to go through.
Should provide information that GIT is needed for setup to be completed successfully.
Few unresolved errors are mentioned in previous issue about go-gl.
Few other Errors can be avoided if GO/CXPATH is set and GIT is install beforehand (some errors that come up because two above are missing):
ERROR: c:\users\\go\bin needs to be in your path enviroment variable AND
cx.exe must be accessible
ERROR CODE: 9009
ERROR in 1st pass - goyacc cxgo0
ERROR CODE: 1
ERROR in 2nd pass - goyacc cxgo
ERROR CODE: 1
for both errors above: "System cannot find the path specified.
Describe the bug Downloaded .zip of code from https://github.com/skycoin/cx and extracted it. Running cx-setup dirrectly from folder closes console window in few seconds, even after removing NEX from previously reported issue. Run Command prompt and navigated to folder where cx-develop was extracted. Run cx-setup.bat in console and only then errors can be seen, since .bat file closes itself automatically when run from folder dirrectly. Would be useful to add stop command at end so user can see what needs to be fixed (i.e. change of PATH dirrectories). Error encountered at first try of cx-setup will be stated below.
To Reproduce Steps to reproduce the behavior:
Expected behavior Installation of CX and its tests
Screenshots
Desktop:
Additional context Documentation should include setup beforehand. User must install GoLang and set PATH on Envrionment Variables. Quick simple steps on how to do should be provided, so first 3 errors can be avoided. CXPATH and GOPATH are important for installation to go through. Should provide information that GIT is needed for setup to be completed successfully. Few unresolved errors are mentioned in previous issue about go-gl. Few other Errors can be avoided if GO/CXPATH is set and GIT is install beforehand (some errors that come up because two above are missing): ERROR: c:\users\\go\bin needs to be in your path enviroment variable AND
cx.exe must be accessible
ERROR CODE: 9009
ERROR in 1st pass - goyacc cxgo0
ERROR CODE: 1
ERROR in 2nd pass - goyacc cxgo
ERROR CODE: 1
for both errors above: "System cannot find the path specified.