react-input-autosize icon indicating copy to clipboard operation
react-input-autosize copied to clipboard

Couldn't find preset "es2015" relative to directory

Open joetidee opened this issue 7 years ago • 1 comments

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 avatar Jul 25 '18 21:07 joetidee

@joetidee https://github.com/JedWatson/react-input-autosize/pull/133

matthewwolfe avatar Aug 03 '18 15:08 matthewwolfe