Closed Unruly-Coder closed 6 years ago
The only thing I can think of is the babel preset. We install it as a dev dependency and define it in our .babelrc
for use in our build pipeline, but I wouldn't have thought you would need to install it too.
Are you webpacking (or other bundler) your project and seeing this?
I wonder if it's the same as gaearon/redux-thunk#43?
Perhaps we should be excluding the .babelrc
file from out npm packages?
I think it could be it
Yeah, it appears to be a thing. I'll try to get a version out without those for you ASAP.
As a quick and dirty fix, try running npm i -D babel-preset-env
and see if that lets the build go through?
@Crazy-Ivan Of course, you (or anyone else) are welcome to submit a PR to ignore them if you want to speed it up a bit. Just needs a .babelrc
line added to the .npmignore
file in each of the packages.
Hey,
When I tried to build my solution I get an error "... /node_modules/react-redux-subspace/lib/index.js: Couldn't find preset "env" relative to directory". Any clue how to deal with it? [react-native]