Closed auxiliary closed 8 years ago
Ah, yes, just rename .babelrc.presets to _.babelrc.presets in /node_modules/react-modal/, and it should get past that error. That's happening because that library's babel file is overriding the project's configuration, and possibly uses a different version of babel/set of plugins.
Thanks for the hint. .babelrc.presets
didn't exist. I renamed .babelrc
to .babelrc.presets
and it worked.
I see. No problem, glad it worked for you.
I get the following build error when trying to
gulp build
, have you ever seen this?Node version: 0.10.28 npm version: 1.4.9