I added "bitcoinjs-lib": "~1.5.7" to bower.json, otherwise, even bower_components/bitcoinjs-lib dosen't exist.
Now my problem is there is no "build" subfolder under bower_components/bitcoinjs-lib:
# ls www/bower_components/bitcoinjs-lib/
LICENSE package.json README.md src test
I added "bitcoinjs-lib": "~1.5.7" to bower.json, otherwise, even bower_components/bitcoinjs-lib dosen't exist. Now my problem is there is no "build" subfolder under bower_components/bitcoinjs-lib:
I tried:
And copied the resulting bitcoinjs-lib.js to bower_components/bitcoinjs-lib/build, the
Error: Bitcoin is undefined
disappeared in browser, but moreappeared in browser console.