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
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,14 @@ export default defineConfig({
31
31
})
32
32
```
33
33
34
+
## Why?
35
+
36
+
The following error can occur when a package references a native Node module without providing a polyfill. See [this Vite issue](https://github.com/vitejs/vite/issues/9200) for more info.
37
+
38
+
```
39
+
Module "stream" has been externalized for browser compatibility. Cannot access "stream.Readable" in client code.
40
+
```
41
+
34
42
## Attribution
35
43
36
44
Special thanks to [@FbN](https://github.com/FbN) for putting together [this gist](https://gist.github.com/FbN/0e651105937c8000f10fefdf9ec9af3d).
0 commit comments