You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,15 @@ If you are using the types in a `commonjs` module, like in a Node app, you just
101
101
....
102
102
```
103
103
104
+
## Trouble shooting and known issues.
105
+
106
+
### Web3 and Angular
107
+
If you are using Ionic/Angular at a version >5 you may run into a build error in which modules `crypto` and `stream` are `undefined`
108
+
109
+
a work around for this is to go into your node-modules and at `/angular-cli-files/models/webpack-configs/browser.js` change the `node:false` to `node: {crypto:true, stream:true}` as mentioned [here](https://github.com/ethereum/web3.js/issues/2260#issuecomment-458519127)
110
+
111
+
Another variation of this problem was an issue opned on angular-cli: https://github.com/angular/angular-cli/issues/1548
112
+
104
113
## Documentation
105
114
106
115
Documentation can be found at [ReadTheDocs][docs].
0 commit comments