0👍
I decided to edit the index.js from web3-eth-accounts and change the
var cryp = (typeof global === 'undefined') ? require('crypto-browserify') : require('crypto');
into just
var cryp = require('crypto-browserify');
It works now. But I still don’t know whats wrong with my angular set up. The vue app has the same code but it is working.
- [Vuejs]-How to apply style to a VueJS Component with Style marker
- [Vuejs]-Can I send more than only value with v-model to v-for
Source:stackexchange.com