react-bootstrap-extended icon indicating copy to clipboard operation
react-bootstrap-extended copied to clipboard

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

Open mclapa opened this issue 8 years ago • 2 comments
trafficstars

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

mclapa avatar Oct 11 '17 18:10 mclapa

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 :)

rbalicki2 avatar Oct 28 '17 01:10 rbalicki2

Same here, on "env" preset with recent webpack and babel versions installing [email protected] works just fine

...and thanks for publishing this excellent library!

dirkdevriendt avatar Nov 14 '17 17:11 dirkdevriendt