Hi Ale,
I manage to get it to work. I used the window repository and run: ./Chocolatey.ps1 ./Npm.ps1 ./Build.ps1 (Error for not being able to locate C:\vagrant, but I think I don't need vagrant) It works when I run "node gpii.js", but not "npm start". I manage to launch JAWS, MAGIC and ZoomText properly using GPII. The problem I'm having now is FATAL ERROR: Uncaught exception: Cannot find module 'gpii-pouchdb' when I run node tests\AcceptanceTests.js I think there's still some problem building it which causes running the AcceptanceTest to not work. I realize that the windows repository https://github.com/GPII/windows is using a different universal repository. This old universal repository works when running tests. But, when I swap it with the latest universal repository from https://github.com/GPII/universal, it gives the error FATAL ERROR: Uncaught exception: Cannot find module 'gpii-pouchdb'. And you recommended me to build using gpii-app. I used the branch hst-2017 from this git repository https://github.com/GPII/gpii-app (not sure if this is the gpii-app you meant). I got the error "Error: %1 is not a valid Win32 application". Let me know if you have any ideas for me to try. Thanks, Wayne ________________________________ From: Alejandro Leiva <[email protected]> Sent: Monday, April 17, 2017 4:50:14 PM To: Wayne CHEW Cc: [email protected] Subject: Re: [Architecture] Need Help With Installing GPII for Windows Hi Wayne, You need current nodejs lts version (presently 6.10.2). To setup the environment for GPII, the fastest and more confortable path for building the windows repository is launch from the provisioning directory in the windows repository from a Powershell privileged console this: ./Chocolatey.ps1 ./Npm.ps1 ./Build.ps1 You will end with a working gpii windows. Although I recommend to you to use gpii-app instead of windows repository directly. (For building gpii-app you just need to launch Build.ps1 from provisioning and npm start) Cheers, Ale On Mon, Apr 17, 2017 at 11:34 PM, Wayne CHEW <[email protected]<mailto:[email protected]>> wrote: Hi guys, (Sorry I sent two emails, I removed the attachment because file size is too big) I'm trying to set up GPII for Windows from scratch because I accidentally deleted my working version. It works in the past but something is not working for me now. This is what I did: I pull the repository from https://github.com/GPII/windows. Then I just run npm install. It works for 1) Node version: 0.10.38, this version works when I run it, but when I replace the universal repository with the one on git https://github.com/GPII/universal, it gives "FATAL ERROR: Uncaught exception: Object #<Object> has no method 'parse'". There's some warning printed out to the console when installing using 0.10.38 that recommend using Node 4.2.1. 2) Node version: 4.2.1, can't install. Saying that its missing some Microsoft Visual Studio dependencies. 3) Node version: 4.4.7, https://wiki.gpii.net/w/Setting_Up_Your_Development_Environment, says that GPII is tested with 4.4.7. Same problem with 4.2.1. Maybe, I'm doing this wrongly. Any suggestions on installing GPII for windows? Once I'm done installing it, I'm planning to replace the Universal Folder with the one on git https://github.com/GPII/universal so that I can make changes to it and update it with the latest version. Thanks, Wayne _______________________________________________ Architecture mailing list [email protected]<mailto:[email protected]> http://lists.gpii.net/mailman/listinfo/architecture
_______________________________________________ Architecture mailing list [email protected] http://lists.gpii.net/mailman/listinfo/architecture
