-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Uncaught TypeError: Object prototype may only be an Object or null: undefined #26
Comments
The location of the original polyfill will need to be tracked down and a test will probably need to be made in order to fix it. |
Perhaps I can help narrow the search. I came here looking for a solution after including the resolve fallbacks below in my custom-webpack (to solve the webpack 5 problems) and ended up with the same error as the OP. I highly suspected FS was the issue since that appears to be our commonality, and when I chased it down, it is the fs read that the problem occurs.
The failing instruction in the function patch (fs) and it reads: The failing line is at the end of the fs.read function:
|
This module doesn't provide a polyfill for |
Hi, when we try to use polyfill in our project we get the following error in the browser. Any ideas how this can be resolved or how to debug it?
It seems to relate to this line in polyfill:
fs$read
here isundefined
The text was updated successfully, but these errors were encountered: