You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously I have used redux-presist in one demo, and it worked smoothly. Then I want to integrate it in our project. Since the top level state is immutable map, I plan to use redux-persist-immutable. However I get error like this: TramsformError: ../node_modules/redux-persist-immutable/lib/index.js: 'Couldn't find preset "es2015" relative to directory' "../node-modules/redux-persist-immutable"
Does it mean that I need to install babel-preset-es2015 and something else?
Thanks!
The text was updated successfully, but these errors were encountered:
I'm sure you've solved this by now, but your .babelrc or babel config is requiring the es2015 presets module. Either install it locally with npm install -D babel-preset-es2015 or yarn add --dev babel-preset-es2015 else install it globally and ensure that you have global node_modules on your $PATH.
@elyonsaber did you install from github or npm? I would not expect you to see this issue related to this module unless the babelrc is included (we exlcude babelrc from the npm package)
Previously I have used redux-presist in one demo, and it worked smoothly. Then I want to integrate it in our project. Since the top level state is immutable map, I plan to use redux-persist-immutable. However I get error like this: TramsformError: ../node_modules/redux-persist-immutable/lib/index.js: 'Couldn't find preset "es2015" relative to directory' "../node-modules/redux-persist-immutable"
Does it mean that I need to install babel-preset-es2015 and something else?
Thanks!
The text was updated successfully, but these errors were encountered: