hapi-docs
hapi-docs copied to clipboard
Dependency issues with vue-cli
I've fixed this in my fork but I'm not a Vue user so I'm not sure it's the correct fix.
You'll get this error trying to install:
npm ERR! code 1
npm ERR! path /home/ant/Projects/hapi-docs
npm ERR! command failed
npm ERR! command sh -c vue-cli-service build
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ant/.npm/_logs/2021-02-25T09_17_44_566Z-debug.log
❯ npm install --save-dev @vue/cli-service@latest
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @surveylegend/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR! vue@"^2.6.12" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"3.0.6" from @vue/[email protected]
npm ERR! node_modules/@vue/compiler-sfc
npm ERR! peerOptional @vue/compiler-sfc@"^3.0.0-beta.14" from @vue/[email protected]
npm ERR! node_modules/@vue/cli-service
npm ERR! dev @vue/cli-service@"4.5.11" 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!
npm ERR! See /home/ant/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ant/.npm/_logs/2021-02-25T09_18_18_185Z-debug.log
Regressing @vue/cli-service to v4.4 will remove the dependency on Vue 3 and allow the project to build.