jquense / react-formal

Sophisticated HTML form management for React
http://jquense.github.io/react-formal
MIT License
526 stars 52 forks source link

Upgraded, getting babel/runtime error #155

Open nathanhannig opened 5 years ago

nathanhannig commented 5 years ago

Upgraded to newest version of react-formal and getting the following error.

ERROR in ./node_modules/react-formal/node_modules/yup/lib/util/reach.js
Module not found: Error: Can't resolve '@babel/runtime/helpers/builtin/interopRequireDefault' in 'C:\project\repos\nostvbeta\node_modules\react-formal\node_modules\yup\lib\util'
 @ ./node_modules/react-formal/node_modules/yup/lib/util/reach.js 3:29-92
 @ ./node_modules/react-formal/lib/Form.js
 @ ./node_modules/react-formal/lib/index.js
 @ ./node_modules/react-formal/lib/index.cjs.js
 @ ./UI/containers/Header.js
 @ ./UI/containers/Home.js
 @ ./UI/containers/index.js
 @ ./UI/app.js
 @ multi ./app.js

Issue might be with yup package as dependency.

hustKiwi commented 5 years ago

Same here. I have to degrade @babel/runtime to 7.0.0-beta.55 as a workaround. Could it be fixed at the react-formal side? @jquense