Couldn't find preset "es2015" relative to directory
Seem to getting this error when trying to build my application:
ERROR in ./node_modules/react-input-autosize/lib/AutosizeInput.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Couldn't find preset "es2015" relative to directory "/Users/joe/Sources/tidee-life/packages/tidee-life-ui/node_modules/react-input-autosize" at /Users/joe/Sources/tidee-life/packages/tidee-life-ui/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19 at Array.map (
)
I'm not using the react-input-autosize package directly and believe that it is being used by react-select that I am using (i have installed v1.3.0). I have removed all of my babel-preset-2015 dependencies in my project and am using the babel-preset-env instead.
Not sure what to do to resolve this issue (?)
@joetidee https://github.com/JedWatson/react-input-autosize/pull/133