You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
I'm trying to convert an existing React application based on Material-UI http://www.material-ui.com/ and receive the following errors during the build process:
ERROR in .//react-addons-transition-group/index.js
Module not found: Error: Cannot resolve module 'preact-compat/lib/ReactTransitionGroup' in c:\code\TDC\preact\node_modules\react-addons-transition-group
@ .//react-addons-transition-group/index.js 1:17-58
ERROR in .//react-addons-create-fragment/index.js
Module not found: Error: Cannot resolve module 'preact-compat/lib/ReactFragment' in c:\code\TDC\preact\node_modules\react-addons-create-fragment
@ .//react-addons-create-fragment/index.js 1:17-51
Is this something that is common working with controls built for React?
The text was updated successfully, but these errors were encountered:
Thanks for the quick response, the alias worked for transition group but fragment is still an issue. I'm looking at pulling Material-UI out of the project in favor of Material Design Lite since those are already Preact components. Also, I would like to remove preact-compat from the project.
I'm trying to convert an existing React application based on Material-UI http://www.material-ui.com/ and receive the following errors during the build process:
ERROR in ./
/react-addons-transition-group/index.js/react-addons-transition-group/index.js 1:17-58Module not found: Error: Cannot resolve module 'preact-compat/lib/ReactTransitionGroup' in c:\code\TDC\preact\node_modules\react-addons-transition-group
@ ./
ERROR in ./
/react-addons-create-fragment/index.js/react-addons-create-fragment/index.js 1:17-51Module not found: Error: Cannot resolve module 'preact-compat/lib/ReactFragment' in c:\code\TDC\preact\node_modules\react-addons-create-fragment
@ ./
Is this something that is common working with controls built for React?
The text was updated successfully, but these errors were encountered: