Hey,
anybody got it working with Angular 4 so far?
My steps were:
Error 1
Getting the errors error1.txt
Error 2
Then I tried including node_modules/instascan/index.js directly in .angular-cli.json in apps-->scripts but that produces error2.txt
Error 3
Next idea was to include the minified dist-file (instascan.min.js) directly in .angular-cli.json in apps-->scripts but that produces error3.txt
Environment:
Any suggestions?
We're experiencing the same issue in our Angular 4 application. Right now we manually remove the line which imports babel-polyfill. But this is, for obvious reasons, not a stable/recommended fix. Just a temporary workaround to test the functionality.
Hi,
I've created a fork removing the babel-polyfill line, it's located here if you want to use it
Thanks man, appreciate it.
But I've switched to "zxing-typescript" which works much better for me. I've also adapted it for iOS11. I'll try to make an Angular library out of it when I have time.
@schmich Any plan on fixing this?
I made an Angular-Component with ZXing, feel free to try it out:
https://github.com/werthdavid/ngx-zxing
Most helpful comment
We're experiencing the same issue in our Angular 4 application. Right now we manually remove the line which imports babel-polyfill. But this is, for obvious reasons, not a stable/recommended fix. Just a temporary workaround to test the functionality.