Open Nexus7 opened 5 years ago
Hi @Nexus7 ,
Bower is no longer required, thus in order to run the frontend DApp after installing the node dependencies, you would have to execute npm run start
. This will run a local web server listening to the default port 5000.
Thanks @giacomolicari. I guess the Readme.md needs updating then as it still lists that step. I did also have to do steps 2 & 3 to get the web server running though... do you know if that affects others?
@giacomolicari when I run npm run build-win
to build a Windows version and run on Windows x64, there is a error message in the following, please help, thanks!
I tried npm run package-win
and npm run build-win
, both of them failed.
Hi @luck2011 , try doing the following (tested on Windows 10):
Install windows-build-tools as global dep: npm i -g --production windows-build-tools
Remove node_modules and use yarn to install local deps.
Set electron builder as debug mode using an env var: $env:DEBUG = "electron-builder"
Install dependencies and run build process using yarn: yarn install && yarn run build-win
@giacomolicari Thanks! Maybe my Windows 7 OS is the problem! I will try again after upgrading the Windows version.
Hi,
I was attempting to run the dapp on my local arch linux machine and had a couple of issues which I think I have now resolved but just wanted to share in case any action needs to be taken by others:
I still have one remaining error in my browser console when viewing the dapp at localhost:5000 :
Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.0/$injector/modulerr?p0=multiSigWeb&p1=Error%3A%20%5B%24injector%3Anomod%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.5.0%2F%24injector%2Fnomod%3Fp0%3DmultiSigWeb%0A%20%20%20%20at%....
Not sure if that will be a fatal error or not?
Cheers Rick