Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error with package version #1046

Closed
1 task
Rednas83 opened this issue Jun 26, 2023 · 2 comments
Closed
1 task

[Bug]: Error with package version #1046

Rednas83 opened this issue Jun 26, 2023 · 2 comments

Comments

@Rednas83
Copy link

Rednas83 commented Jun 26, 2023

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

yarn check returns an error (v1.22.19 classic) after migrating from prettier to "@antfu/eslint-config": "^0.39.5"
error "vue-chart-3#chart.js@=> ^3.1.0" doesn't satisfy found match of "chart.js@4.3.0"

Tried:

  • Downgrading "chart.js" from "^4.3.0" to "^4.1.1" (same version as in vue-chart-3 package)
  • yarn clean
  • yarn install (after removing node_modules and yarn.lock)

Reproduction

https://codesandbox.io/p/sandbox/nuxt3-vue-chart-qf6mvf

chart.js version

v4.1.1 | v4.3.0

vue-chartjs version

v3.1.8

Possible solution

No response

@apertureless
Copy link
Owner

vue-chart-3 package is not vue-chartjs.

@Rednas83
Copy link
Author

Thanks for the quick response.

Migrating vue-chart-3 to vue-chartjs indeed fixed the problem.

I only have 1 warning left
warning chart.js@4.3.0: The engine "pnpm" appears to be invalid.

But I understood the fix for that is to migrate yarn v1 to v2.

Thanks for the support on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants