react-kanban icon indicating copy to clipboard operation
react-kanban copied to clipboard

Problem with material-ui

Open ivanjeremic opened this issue 6 years ago • 1 comments
trafficstars

Since I'm trying to use material-ui in react-kanban I get this error, is this any known problem how can I get it working with react-kanaban?

ERROR in ./node_modules/react-transition-group/esm/TransitionGroup.js
    Module not found: Error: Can't resolve '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose' in 'C:\Users\ivanj\Documents\Development\React-Apps\React-Kanban-Playground\react-kanban-6\react-kanban\node_modules\react-transition-group\esm'
     @ ./node_modules/react-transition-group/esm/TransitionGroup.js 1:0-100 111:16-45
     @ ./node_modules/@material-ui/core/ButtonBase/TouchRipple.js
     @ ./node_modules/@material-ui/core/ButtonBase/ButtonBase.js
     @ ./node_modules/@material-ui/core/ButtonBase/index.js
     @ ./node_modules/@material-ui/core/Button/Button.js
     @ ./node_modules/@material-ui/core/Button/index.js
     @ ./src/app/components/List/DialogSelect.jsx
     @ ./src/app/components/List/List.jsx
     @ ./src/app/components/Board/Board.jsx
     @ ./src/app/components/Board/BoardContainer.jsx
     @ ./src/app/components/App.jsx
     @ ./src/client.jsx

ivanjeremic avatar Mar 23 '19 22:03 ivanjeremic

I'm guessing it has something to do with the fact that it's trying to import a file that has an esm export, and maybe the server side babel or webpack configuration isn't set up to handle it. But I can't really help you on this one.

markusenglund avatar Mar 29 '19 16:03 markusenglund