What you were expecting:
Compiling files to produce a successful production build.
What happened instead:
I get this error at compilation:
Failed to compile
./node_modules/ra-input-rich-text/esm/index.js
Module not found: Can't resolve 'ra-core' in '<path>/node_modules/ra-input-rich-text/esm'
Other information:
The compilation was successful with v2.6.1
Environment
Same as #2800.
Some modules in node_modules were outdated, and running npm install|update didn't update them.
Deleting file package-lock.json and running npm install to generate a new one solved the problem.
Most helpful comment
Same as #2800.
Some modules in
node_moduleswere outdated, and runningnpm install|updatedidn't update them.Deleting file
package-lock.jsonand runningnpm installto generate a new one solved the problem.