vue-admin icon indicating copy to clipboard operation
vue-admin copied to clipboard

NPM fails

Open henrywood opened this issue 6 months ago • 1 comments

henrik@HSLAPTOP-ASUS:/tmp/vue-admin$ sudo npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/axios npm ERR! dev axios@"^0.21.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer axios@"^0.17" from [email protected] npm ERR! node_modules/vuex-crud npm ERR! dev vuex-crud@"^0.3.2" 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 /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2024-01-26T00_27_08_883Z-debug-0.log

What to do ???

henrywood avatar Jan 26 '24 00:01 henrywood

Well, i have no problem to make it work with node version 10.22.0 and running without admin permission. To change your node version you can use nvm

josx avatar Jan 29 '24 14:01 josx