Hello,
I am getting the error
TypeError: The ‘compilation’ argument must be an instance of Compilation
When I try to run “yarn rw dev”. This is odd because my app successfully runs on vercel with the same code, I just tried to set it up in a different device locally. I read about this online and saw that it was related to webpack mismatches.
I tried several solutions
- added a “resolution” to package json
- specified mismatching versions using “yarn why webpack”
- deleted and re-installed node_modules
None of these seem to solve the issue. Did anyone face the same issue before? I’d appreciate some help. Thanks!