Code Monkey home page Code Monkey logo

Comments (5)

kagawagao avatar kagawagao commented on May 18, 2024

can you provide a mini showcase or terminal output

from g2plot-vue.

Robert-Ro avatar Robert-Ro commented on May 18, 2024

link this:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR!   vue@"^3.1.3" from the root project
npm ERR!   peer vue@"^2.0.0 || >=3.0.0-rc.0" from @opd/[email protected]
npm ERR!   node_modules/@opd/g2plot-vue
npm ERR!     dev @opd/g2plot-vue@"^3.4.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@">= 2.5 < 3" from @vue/[email protected]
npm ERR! node_modules/@vue/composition-api
npm ERR!   peerOptional @vue/composition-api@"^1.0.0-rc.2" from @opd/[email protected]
npm ERR!   node_modules/@opd/g2plot-vue
npm ERR!     dev @opd/g2plot-vue@"^3.4.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! 

@kagawagao Thanks

from g2plot-vue.

kagawagao avatar kagawagao commented on May 18, 2024

g2plot-vue is build for both vue v2 and v3
So if you use [email protected] in your project, there is no need @vue/composition-api to be installed
Otherwise, you should install it.

from g2plot-vue.

Robert-Ro avatar Robert-Ro commented on May 18, 2024

I don't install @vue/composition-api manually, and it's only reproduce in jenkins env(npm), not local development(yarn 1.22).
fix with add package-lock.json to git, confusing 😔

from g2plot-vue.

kagawagao avatar kagawagao commented on May 18, 2024

lock file is important in CI

from g2plot-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.