gnosis / MultiSigWallet

Allows multiple parties to agree on transactions before execution.
https://github.com/gnosis/MultiSigWallet/releases
GNU Lesser General Public License v3.0
1.08k stars 762 forks source link

Had some trouble running the dapp (and possible solutions) #192

Open Nexus7 opened 5 years ago

Nexus7 commented 5 years ago

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:

  1. When attempting the 'bower install' step there was no 'bower.json' file in the dapp root directory. I ended up copying the one here: https://github.com/aragon/multisig-transparency/blob/master/bower.json . I think this fixed this issue.
  2. When running the dapp I saw a number of errors in the browser console around the 'ProviderEngine'. I saw that the entry in the package.json is referring to a specific git version. I ended up doing a 'npm i web3-provider-enginer' which seemed to resolve the console errors.
  3. Had the same issue as above with 'ledger-wallet-provider'. Ended up installing through npm.

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

giacomolicari commented 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.

Nexus7 commented 5 years ago

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?

luck2011 commented 5 years ago

@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.

image

giacomolicari commented 5 years ago

Hi @luck2011 , try doing the following (tested on Windows 10):

luck2011 commented 5 years ago

@giacomolicari Thanks! Maybe my Windows 7 OS is the problem! I will try again after upgrading the Windows version.