Failed to compile.
./node_modules/react-transition-group/esm/TransitionGroup.js
Module not found: Can't resolve '@babel/runtime/helpers/esm/assertThisInitialized' in 'DIRECTORY'
I copied the component (a stateless component) from my separate ReactJs project (installed using npx create-react app project-name) that I used to develop the components and pasted it on the newly created divi extension, under the modules folder.
Problem Description
I am developing a project using ReactJs and Wordpress with a Divi Theme. Everytime I create a divi extension using the instructions written in here (https://www.elegantthemes.com/documentation/developers/create-divi-extension/) I end up getting a problem when a execute
yarn start
Steps To Reproduce
yarn
modules
folder.yarn start
then the error shows up.Screenshot and/or gif