Reputation: 1
I tried to do the Investory management project with laravel7 +VueJs + RestAPIs , I have tried also with Laravel8 following given steps with
composer require laravel/ui
php artisan ui vue --auth
npm install
npm install vue-router
php artisan migrate
npm run dev
then I am getting this error , where the instruction have shown, he has created 2 component Login and Register and after all stuff Login page in comming in home page with Vue-router but in my case nothing happen , please help , the error is here
npm ERR! node_modules/vue
npm ERR! dev vue@"^2.6.12" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.2.0" from [email protected]
npm ERR! node_modules/vue-router
npm ERR! vue-router@"4" from the root project
Upvotes: 0
Views: 390
Reputation: 7
Same problem.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR! dev vue@"^2.6.14" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.2.0" from [email protected]
npm ERR! node_modules/vue-router
npm ERR! vue-router@"*" 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 C:\Users\Mithun\AppData\Local\npm-cache\eresolve-report.txt for a full report.
Upvotes: 1