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
yup-ast has a hard dependency on babel-loader ^7.1.5, and webpack": "^4.16.2".
create-react-app pins the babel-loader and web-pack dependency to a specific version (depending on the version of create-react-app). Since yup-ast is resolved first, this causes errors when building a create app application.
The solution for the consumer is to either manually install specific versions of the two dependencies or to disable CRA's pre-flight check. Installing specific dependencies will make upgrading CRA harder or impossible. Disabling the pre-flight check will allow for other package dependency errors down the line.
I'm not sure what the solution is for yup-ast. But I know that many other packages have dependencies on babel-loader and webpack, and manage those dependencies in such a way that the package can be used alongside any create-react-app version. without issues.
The text was updated successfully, but these errors were encountered:
yup-ast has a hard dependency on
babel-loader ^7.1.5
, andwebpack": "^4.16.2"
.create-react-app pins the babel-loader and web-pack dependency to a specific version (depending on the version of create-react-app). Since yup-ast is resolved first, this causes errors when building a create app application.
The solution for the consumer is to either manually install specific versions of the two dependencies or to disable CRA's pre-flight check. Installing specific dependencies will make upgrading CRA harder or impossible. Disabling the pre-flight check will allow for other package dependency errors down the line.
I'm not sure what the solution is for yup-ast. But I know that many other packages have dependencies on babel-loader and webpack, and manage those dependencies in such a way that the package can be used alongside any create-react-app version. without issues.
The text was updated successfully, but these errors were encountered: