Hello,
using Yarn workspaces, building my project where react-force-graph is a subproject dependency, I'm encountering a build error:
_
Creating an optimized production build...
Failed to compile.
/Users/aboschini/WebstormProjects/monorepo/node_modules/react-kapsule/dist/react-kapsule.module.js
Attempted import error: 'fromentries' does not contain a default export (imported as 'fromEntries').
I believe that sub-dependency (fromentries) has only a commonJs entrypoint, not an ES6 modules one. Are you able to import commonJs modules in your application?
Hello, using Yarn workspaces, building my project where react-force-graph is a subproject dependency, I'm encountering a build error: _
_
Manually solved by fixing the import. thanks