rbalicki2 / react-bootstrap-extended

A version of React Bootstrap which accepts props that add Bootstrap's utility classes
38 stars 3 forks source link

Error: Cannot find module 'react-bootstrap-extended' #3

Open mclapa opened 6 years ago

mclapa commented 6 years ago

Hello

Perhaps I did something incorrectly, but running:

npm install --save react-bootstrap-extended

and after a successful install (verified on package.json) in my React I now have

import { Panel } from 'react-bootstrap-extended'

but when compiling get

Cannot find module 'react-bootstrap-extended'

I have a feeling it has something to do with all these large react changes that have been happening as of late, for example in your package.json you have

"es2015", "stage-0", "react"

But I believe es2015 has been replaced by 'env' for babel

Just a guess not sure why its complaining otherwise

rbalicki2 commented 6 years ago

Hey - thanks for pointing this out. I'll take a look this weekend, and let you know. In the mean time, you can try an earlier version? Not much changes between versions :)

dirkdevriendt commented 6 years ago

Same here, on "env" preset with recent webpack and babel versions installing react-bootstrap-extended@0.0.5 works just fine

...and thanks for publishing this excellent library!