-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Problem with webpack 4 : Object prototype may only be an Object or null: undefined #222
Comments
I am also facing the same issue @mebest100 any workarounds? |
See #216. |
Yes, I solved this problem, the root cause comes from vscode, it insert
useless code and cause mentioned error. Hence you just search by keywords
'from webpack' , and delete it when found, then everything is ok
Jonas Thelemann ***@***.***> 于 2021年12月5日周日 16:29写道:
… See #216 <#216>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#222 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACX7F34QVGHLJYRWXTSCI6TUPMPG3ANCNFSM5H2THYLA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Another message for the next person who finds this - I don't know why the issue pointed to graceful-fs but somebody - whether VSCode or mix or a misttype on my part that autocompleted - added an import to one of my files that was causing the issue
|
I encountered the exactly same problem, the whole project can be found here If I use the following version, everything is fine. If I upgrade it, gracefulFs fails with the exactly same error |
I am facing same issue in my nuxt project. The nuxt mode is spa. |
version v4.2.5 or higher versions may cause this error. |
I build react on webpack 4.44.2, but when compile complete and it will report Object prototype may only be an Object or null: undefined from Browser console
as follow screenshot:
It seems connected to graceful-fs, but I don't know how it come.
Could anybody told the root cause about the errors. Thx!
The text was updated successfully, but these errors were encountered: