inveniosoftware / inveniosoftware/react-invenio-forms

3.5.2 to 3.5.3 has breaking axios version change

Open
#289 12 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
37
PR merge metrics
No merged PRs in 30d

Description

I am using invenio v12 but since the release of 3.5.3 of this library I can no longer do the webpack build.

It seems [3.5.2](https://github.com/inveniosoftware/react-invenio-forms/blob/v3.5.2/package.json#L29) uses axios "^0.21.0", inline with [invenio-communities](https://github.com/inveniosoftware/invenio-communities/blob/v14.0.0/invenio_communities/webpack.py#L50), but 3.5.3 now uses ["^1.8.2"](https://github.com/inveniosoftware/react-invenio-forms/blob/v3.5.3/package.json#L29) which breaks my build via `invenio webpack buildall`

```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: invenio-assets@2.0.0
npm ERR! Found: axios@0.21.4
npm ERR! node_modules/axios
npm ERR! axios@"^0.21.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer axios@"^1.8.2" from react-invenio-forms@3.5.3
npm ERR! node_modules/react-invenio-forms
npm ERR! react-invenio-forms@"^3.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.
```

Is there anyway to force 3.5.2 instead of 3.5.3 from the invenio-cli level, without having to upgrade from v12 to v13?

Any help on this matter is much appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.