Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NPM fails #267

Open
henrywood opened this issue Jan 26, 2024 · 1 comment
Open

NPM fails #267

henrywood opened this issue Jan 26, 2024 · 1 comment

Comments

@henrywood
Copy link

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: vue-admin-js@0.0.10
npm ERR! Found: axios@0.21.4
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 vuex-crud@0.3.2
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 ???

@josx
Copy link
Member

josx commented Jan 29, 2024

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants