Next 2.3.0 Build Errors
See original GitHub issueFailed to build on /var/folders/ys/lmdgwcfx4vv8w60w68ztzdfm0000gn/T/e219bf14-76f7-492a-b13c-545576e427fb
{ Error: ./~/react-tap-event-plugin/src/injectTapEventPlugin.js
Module not found: Error: Can't resolve 'react-dom/lib/EventPluginHub' in '/Users/tknipfer/Desktop/plate/node_modules/react-tap-event-plugin/src'
resolve 'react-dom/lib/EventPluginHub' in '/Users/tknipfer/Desktop/plate/node_modules/react-tap-event-plugin/src'
Parsed request is a module
using description file: /Users/tknipfer/Desktop/plate/node_modules/react-tap-event-plugin/package.json (relative path: ./src)
Running into this when doing a build with the latest next release
Note from maintainers:
Fix
next.config.js
module.exports = {
webpack: function (c) {
if (c.resolve.alias) {
delete c.resolve.alias['react']
delete c.resolve.alias['react-dom']
}
return c
}
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:23
- Comments:24 (9 by maintainers)
Top Results From Across the Web
Next 2.3.0 Build Errors · Issue #1877 · vercel/next.js - GitHub
Failed at the example-repo@1.0.0 export script 'next export'. npm ERR! Make sure you have the latest version of node.js and npm installed.
Read more >android10.0.0.2.3.0 build error '-Wshift-overflow=2'
I get this error several time before the compile fails eventually. Hope someone has figure out a workaround. ... Android in 2020-01 as...
Read more >Docker Compose release notes | Docker Documentation
Fixed compose#9963; Added a build option to run command. ... Fixed a bug to prevent “invalid template” errors on valid environment variable values....
Read more >Gradle version 2.10 is required. Current version is 4.0.1.
I can't build for android with gradle it says that I'm using the wrong version, where do I change it so it uses...
Read more >[Solved] Errors Building 2.3.0-alpha0 on Linux - Prusa Forum
I am trying to build the latest alpha on Linux but am stuck on an error that I havent been able to find...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@chhuang I understand that. Let me see what we can do about this. For now, we can try to remove these aliases using a custom webpack config.
EDIT: I’ve tested ^^ code and it works.
Getting a similar error when building with 2.3.1 but with different lib.
Thank you.