Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bower_components/bitcoinjs-lib/build dosen't exist #1767

Open
coopci opened this issue Apr 4, 2020 · 0 comments
Open

bower_components/bitcoinjs-lib/build dosen't exist #1767

coopci opened this issue Apr 4, 2020 · 0 comments

Comments

@coopci
Copy link

coopci commented Apr 4, 2020

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 tried:

 browserify -r bitcoinjs-lib -s Bitcoin > bitcoinjs-lib.js

And copied the resulting bitcoinjs-lib.js to bower_components/bitcoinjs-lib/build, the Error: Bitcoin is undefined disappeared in browser, but more

HomeController/$scope.validate@http://54.169.233.199/js/controllers/landing/HomeController.js:17:9
functionCall/<@http://54.169.233.199/bower_components/angular/angular.js:10956:21
==@http://54.169.233.199/bower_components/angular/angular.js:10302:45
binaryFn/<@http://54.169.233.199/bower_components/angular/angular.js:10710:14
$digest@http://54.169.233.199/bower_components/angular/angular.js:12695:40
$apply@http://54.169.233.199/bower_components/angular/angular.js:12968:24
ngEventHandler/<@http://54.169.233.199/bower_components/angular/angular.js:19307:23
dispatch@http://54.169.233.199/bower_components/jquery/dist/jquery.min.js:4:8549
add/r.handle@http://54.169.233.199/bower_components/jquery/dist/jquery.min.js:4:5252

appeared in browser console.

@coopci coopci changed the title home page looks not working bower_components/bitcoinjs-lib/build dosen't exist Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant