Closed cirolaferrara closed 2 years ago
Trying to install @protonemedia/inertiajs-tables-laravel-query-builder in a Vue3 project results in peer dependency conflict. Below is the full NPM log.
# npm resolution error report 2022-06-27T09:51:53.078Z While resolving: undefined@undefined Found: vue@3.2.37 node_modules/vue peer vue@"^3.0.0" from @inertiajs/inertia-vue3@0.6.0 node_modules/@inertiajs/inertia-vue3 @inertiajs/inertia-vue3@"^0.6.0" from the root project peer vue@"3.2.37" from @vue/server-renderer@3.2.37 node_modules/@vue/server-renderer @vue/server-renderer@"3.2.37" from vue@3.2.37 Could not resolve dependency: @protonemedia/inertiajs-tables-laravel-query-builder@"*" from the root project Conflicting peer dependency: vue@2.6.14 node_modules/vue peer vue@">= 2.5 < 3" from @vue/composition-api@1.6.3 node_modules/@vue/composition-api peerOptional @vue/composition-api@"^1.0.0-rc.6" from @protonemedia/inertiajs-tables-laravel-query-builder@1.3.4 node_modules/@protonemedia/inertiajs-tables-laravel-query-builder @protonemedia/inertiajs-tables-laravel-query-builder@"*" from the root project Fix the upstream dependency conflict, or retry this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution. Raw JSON explanation object: { "code": "ERESOLVE", "edge": { "type": "prod", "name": "@protonemedia/inertiajs-tables-laravel-query-builder", "spec": "*", "error": "MISSING", "from": { "location": "" } }, "dep": { "name": "@protonemedia/inertiajs-tables-laravel-query-builder", "version": "1.3.4", "whileInstalling": { "path": "" }, "location": "node_modules/@protonemedia/inertiajs-tables-laravel-query-builder", "isWorkspace": false, "dependents": [ { "type": "prod", "name": "@protonemedia/inertiajs-tables-laravel-query-builder", "spec": "*", "error": "MISSING", "from": { "location": "" } } ] }, "current": null, "peerConflict": { "current": { "name": "vue", "version": "3.2.37", "location": "node_modules/vue", "isWorkspace": false, "dependents": [ { "type": "peer", "name": "vue", "spec": "^3.0.0", "from": { "name": "@inertiajs/inertia-vue3", "version": "0.6.0", "location": "node_modules/@inertiajs/inertia-vue3", "isWorkspace": false, "dependents": [ { "type": "prod", "name": "@inertiajs/inertia-vue3", "spec": "^0.6.0", "from": { "location": "" } } ] } }, { "type": "peer", "name": "vue", "spec": "3.2.37", "from": { "name": "@vue/server-renderer", "version": "3.2.37", "location": "node_modules/@vue/server-renderer", "isWorkspace": false, "dependents": [ { "type": "prod", "name": "@vue/server-renderer", "spec": "3.2.37", "from": { "name": "vue", "version": "3.2.37" } } ] } } ] }, "peer": { "name": "vue", "version": "2.6.14", "whileInstalling": { "path": "" }, "location": "node_modules/vue", "isWorkspace": false, "dependents": [ { "type": "peer", "name": "vue", "spec": ">= 2.5 < 3", "from": { "name": "@vue/composition-api", "version": "1.6.3", "whileInstalling": { "path": "" }, "location": "node_modules/@vue/composition-api", "isWorkspace": false, "dependents": [ { "type": "peerOptional", "name": "@vue/composition-api", "spec": "^1.0.0-rc.6", "from": { "name": "@protonemedia/inertiajs-tables-laravel-query-builder", "version": "1.3.4", "whileInstalling": { "path": "" }, "location": "node_modules/@protonemedia/inertiajs-tables-laravel-query-builder", "isWorkspace": false, "dependents": [ { "type": "prod", "name": "@protonemedia/inertiajs-tables-laravel-query-builder", "spec": "*", "error": "MISSING", "from": { "location": "" } } ] } } ] } } ] } }, "strictPeerDeps": false, "force": false, "isMine": true }
Not sure how I can help, I've got v1 running with Vue 3 (Laravel Jetstream). Could you share your package.json?
package.json
Trying to install @protonemedia/inertiajs-tables-laravel-query-builder in a Vue3 project results in peer dependency conflict. Below is the full NPM log.