angeliski / vue-tabulator

Vue Tabulator - The best way to use Tabulator in Vue projects
https://vue-tabulator.netlify.com/
MIT License
35 stars 14 forks source link

[BUG] - npm ERR! peer tabulator-tables@"4.8.1" from vue-tabulator@1.3.0 #97

Open merc74 opened 3 years ago

merc74 commented 3 years ago

Describe the bug When running "npm update" I get this error message, this is because vue-tabulator is referencing 4.8.1, shouldn't it be referencing the 4.9.3?

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: xxxxxx@1.0.0 npm ERR! Found: tabulator-tables@4.9.3 npm ERR! node_modules/tabulator-tables npm ERR! tabulator-tables@"^4.9.3" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer tabulator-tables@"4.8.1" from vue-tabulator@1.3.0 npm ERR! node_modules/vue-tabulator npm ERR! vue-tabulator@"^1.3.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!

Tabulator Info Version 1.3.0

VueTabulator Info

angeliski commented 3 years ago

Hi @merc74 Could you provide your package.json?

But the information is correct. The current version is 4.8.1 you can check here.

Probably you can run using the last version, but I didn't test yet to make a new release

merc74 commented 3 years ago

Here is my package.json

I guess I just need to change "tabulator-tables": "^4.9.3" to "tabulator-tables": "^4.8.1" in my package.json file?

{ "name": "xxxxx", "version": "1.0.0", "description": "pages", "author": "xxx", "private": true, "scripts": { "dev": "nuxt", "build": "node --max-old-space-size=4096 node_modules/nuxt/bin/nuxt.js build", "start": "nuxt start", "generate": "nuxt generate", "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", "test": "jest" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.34", "@fortawesome/free-solid-svg-icons": "^5.15.2", "@fortawesome/pro-light-svg-icons": "^5.15.2", "@fortawesome/vue-fontawesome": "^0.1.10", "@nuxt/types": "^2.14.12", "@nuxt/typescript-runtime": "^2.0.1", "@nuxtjs/axios": "^5.12.5", "@nuxtjs/proxy": "^2.1.0", "chokidar": "^3.5.1", "core-js": "^3.8.2", "nuxt": "^2.14.12", "nuxt-i18n": "^6.17.0", "nuxt-property-decorator": "^2.9.1", "tabulator-tables": "^4.9.3", "vue-class-component": "^7.2.6", "vue-tabulator": "^1.3.0", "vue-uuid": "^2.0.2", "vuelidate": "^0.7.6" }, "devDependencies": { "@fortawesome/fontawesome-pro": "^5.15.2", "@nuxt/typescript-build": "^2.0.4", "@nuxtjs/dotenv": "^1.4.1", "@nuxtjs/eslint-config": "^2.0.0", "@nuxtjs/eslint-module": "^1.0.0", "@nuxtjs/stylelint-module": "^3.1.0", "@nuxtjs/vuetify": "^1.11.3", "@types/jest": "^26.0.20", "@vue/test-utils": "^1.1.2", "babel-eslint": "^10.1.0", "babel-jest": "^24.1.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.15.0", "eslint-loader": "^4.0.2", "eslint-plugin-nuxt": "^2.0.0", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.5.0", "eslint-webpack-plugin": "^2.5.0", "jest": "^26.6.3", "prettier": "^1.19.1", "stylelint": "^13.10.0", "ts-jest": "^26.5.0", "typescript": "^3.9.9", "vue-jest": "^4.0.0-rc.1" }, "main": ".eslintrc.js", "directories": { "test": "test" }, "license": "ISC"

angeliski commented 3 years ago

yes @merc74 That should be enough