1、eth-lightwallet
git获取源码访问.\eth-lightwallet\example\webwallet.html 页面操作生成账户。
F12 看到页面报错 :async.js 无法找到。
解决:修改webwallet.html 页面 async.js 的应路径,去node-modules 里面找到async模块,没有则 npm install async安装
把错误的引用路径改回来就行。我的是:
<script src="../node_modules/async/dist/async.js" type="text/javascript"></script>
2、truffle 安装问题
BUG1:
Error: EACCES: permission denied, open '/root/.config/truffle/config.json'
You don't have access to this file.
解决:用roo权限安装
root@ubuntu:~# sudo su -c "sudo npm i -g --unsafe-perm=true --allow-root truffle"
root@ubuntu:~# sudo su -c "sudo npm i -g --unsafe-perm=true --allow-root truffle"
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has cha