仓库地址:https://github.com/coorful-cloud/DappFramework.git
正常情况下安装:
git clone https://github.com/coorful-cloud/DappFramework.git cnpm install npm run serve
正常情况下这3步就可以完成安装,但是由于网络的某些原因总是安装失败
常见错误:(此问题是由此包造成@walletconnect/web3-provider@1.7.8)
Error: [@walletconnect/web3-provider@1.7.8 › web3-provider-engine@16.0.1 › eth-sig-util@1.4.2 › ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git] An unknown git error occurred
可以尝试以下步骤解决:
npm config set registry https://registry.npm.taobao.org npm install npm run serve
看运行是否成功
如果出现以下错误:
Error: Cannot find module 'babel-plugin-import'
再运行以下命令
npm install babel-plugin-import npm run serve
此时应该可以正常运行了