Fix the upstream dependency conflict installing NPM packages
文章推薦指數: 80 %
Fix the upstream dependency conflict installing NPM packages. Trying to npm install vue-mapbox mapbox-gl and I'm getting a dependency tree error. Skiptocontent Advertisement Tryingtonpminstallvue-mapboxmapbox-glandI’mgettingadependencytreeerror. I’mrunningNuxtSSRwithVuetify,andhaven’tinstalledanythingrelatedtoMapboxpriortorunningthisinstallandgettingthiserror. 38errorcodeERESOLVE 39errorERESOLVEunabletoresolvedependencytree 40error 41errorWhileresolving:[1mexample[22m@[1m1.0.0[22m 41errorFound:[1mmapbox-gl[22m@[1m1.13.0[22m[2m[22m 41error[2mnode_modules/mapbox-gl[22m 41error[1mmapbox-gl[22m@"[1m^1.13.0[22m"fromtherootproject 41error 41errorCouldnotresolvedependency: 41error[35mpeer[39m[1mmapbox-gl[22m@"[1m^0.53.0[22m"from[1mvue-mapbox[22m@[1m0.4.1[22m[2m[22m 41error[2mnode_modules/vue-mapbox[22m 41error[1mvue-mapbox[22m@"[1m*[22m"fromtherootproject 41error 41errorFixtheupstreamdependencyconflict,orretry 41errorthiscommandwith--force,or--legacy-peer-deps 41errortoacceptanincorrect(andpotentiallybroken)dependencyresolution. 41error 41errorSee/Users/user/.npm/eresolve-report.txtforafullreport. 42verboseexit1 What’stherightwaytogoaboutfixingthisupstreamdependencyconflict? Answer Lookslikeit’saproblemwithPeerDependenciesinthelatestversionofnpm(v7)whichisstillabetaversion.trywithnpminstall--legacy-peer-depsfordetailinfocheckthishttps://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major Advertisement Postnavigation HowtodynamicallyupdateMetatags(OG)usingJavaScript IsthereawaytocreateadynamicstateandsetStateinReact Advertisement Tags ajax167Questions angular257Questions arrays563Questions css705Questions discord83Questions discord.js147Questions dom117Questions dom-events140Questions ecmascript-6139Questions express167Questions firebase157Questions google-apps-script114Questions google-cloud-firestore81Questions html1544Questions javascript9139Questions jquery1036Questions json249Questions mongodb101Questions node.js923Questions object154Questions php202Questions promise84Questions react-hooks130Questions react-native232Questions reactjs1483Questions regex144Questions string88Questions typescript457Questions vue.js405Questions vuejs2110Questions Advertisement
延伸文章資訊
- 1Fix the upstream dependency conflict installing NPM packages
To solve it, fix the upstream dependency conflict installing NPM packages error. Method 1. Just u...
- 2[Solved] Fix the upstream dependency conflict installing NPM ...
To Solve Fix the upstream dependency conflict installing NPM packages Error Just Use --legacy-pee...
- 3解决NPM 安装应用出现ERESOLVE 错误- Alan's Blog
Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-pe...
- 4Fix the upstream dependency conflict installing NPM packages
Fix the upstream dependency conflict installing NPM packages. Trying to npm install vue-mapbox ma...
- 5npm install报错Fix the upstream dependency conflict, or retry
Could not resolve dependency: (不能解决依赖关系:)npm ERR! Fix the upstream dependency conflict, or retry(...