Closed liogate closed 7 years ago
It looks like it's trying to use the script located under the src
directory. It should be using the ones under lib
. Can you show me what the import
looks like in your code for react-flexbox-grid?
Thank you for your feed back.
import { Grid, Row, Col } from 'react-flexbox-grid'
Hmmm...yes, that seems correct. It just seems like it's not respecting the main
entry in react-flexbox-grid's package.json.
I pulled down https://github.com/davezuko/react-redux-starter-kit and added react-flexbox-grid@1.1.5 and I'm not seeing this error. Is there any way you can push your project up so I can see your exact config? (The one you linked to is the default.) That is, assuming you've made changes to it.
Might be related to https://github.com/roylee0704/react-flexbox-grid/issues/26#issuecomment-195837092.
I'm sorry, this is my bad. I have checked all my source code and I found a file with this import causing the build error.
import Grid from 'react-flexbox-grid/src/components/Grid'
This is an auto-completion import made by my IDE (WebStorm) Build is now working. Thanks for your help !
Ha, WebStorm
's at it again. Glad to hear you got things working!
Hi @roylee0704,
I'm trying to build my project and I got the same error related to issue #112 but with a newest version.
Can you help me resolving this issue please ?
My project is based on https://github.com/davezuko/react-redux-starter-kit and material-ui 19.*
Here is my package.json
Here is my webpack config: https://github.com/davezuko/react-redux-starter-kit/blob/master/build/webpack.config.js
Thanks in advance !