Skip to content

3.5.2 to 3.5.3 has breaking axios version change #289

Description

@thomasms

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 uses axios "^0.21.0", inline with invenio-communities, but 3.5.3 now uses "^1.8.2" 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions