Comments (5)
can you provide a mini showcase or terminal output
from g2plot-vue.
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.
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.
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.
lock file is important in CI
from g2plot-vue.
Related Issues (20)
- [Bug] [email protected] 下折线图的data无法动态更新
- tooltip 能否支持 vue 组件? HOT 1
- beforeUpdate not changed after attrs changes HOT 3
- [Security] Potential Secret Leak
- How to use Plot Events?
- How to use Plot Events ? HOT 8
- 在vite使用时需要单独入@babel/runtime HOT 1
- [Feature] 请问G2plot 新增的violin,stock等图是否能涵盖? HOT 3
- lib 不是 CommonJS 模块 HOT 1
- [Feature]How to register global theme setting HOT 1
- 我用vite 安装后,提示[G2Plot-Vue] Switch main field for Vue 3 HOT 2
- Uncaught TypeError: Cannot read properties of undefined (reading 'hasOwnProperty') HOT 5
- [Bug]3.6.0版本作用于Vue2会报错,template or render function not defined HOT 4
- [Bug] 在vite+vue3环境下构建失败 HOT 2
- [Bug] 怎么获取图表实例? HOT 2
- [Bug]nuxt3 HOT 5
- [Bug]执行plot.on("legend-item:click")事件监控时出现的问题
- [Feature] ScatterChart 点击事件不生效,比如G2中的onPointClick HOT 1
- [Bug]开发环境正常build也没报错但发布之后TypeError: Cannot read properties of undefined (reading 'Graph') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g2plot-vue.