-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Module build failed after upgraded to v6 with "_document.js" #4291
Comments
_document.js
_document.js
It's impossible to reproduce without any code samples. Please provide a full reproduction repository 👍 |
@wellyshen , you might be missing some of the babel plugins.
Hope it will help |
Thanks @srascar, adding that resolved the build failure. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to upgrade from v5 to v6. And I encountered a build error which caused from the
_document.js
as the following screenshot. Once I remove the_document.js
the error was gone. In additional even that I used the example the error still occurs.Expected Behavior
_document.js
.Current Behavior
_document.js
.Steps to Reproduce (for bugs)
yarn dev
and build success.Module build failed: ReferenceError: Unknown helper getPrototypeOf
which caused from_document.js
.Your Environment
The text was updated successfully, but these errors were encountered: