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

npm install on macOS error

Open huasonli opened this issue 3 years ago • 4 comments

When I run npm install on MacOS, I got the error as below: 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/vue npm ERR! vue@"^3.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vue@"^2.5.2" from [email protected] npm ERR! node_modules/epic-spinners npm ERR! epic-spinners@"^1.1.0" 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!

huasonli avatar Oct 29 '21 14:10 huasonli

facing same error !!

Sharifur avatar Nov 05 '21 15:11 Sharifur

facing same error !! what to do???

suvarivaza avatar Dec 17 '21 22:12 suvarivaza

@huasonli It got installed in my mac m1. I would suggest to check your npm & node versions. npm - 8.3.1 node - v16.14.0 vue - @vue/cli 5.0.1

Swatijl avatar Mar 18 '22 17:03 Swatijl

one workaround is to add '--force' or '--legacy-peer-deps', so like this -> npm install --force or npm install --legacy-peer-deps

mateozupanjac avatar Jul 21 '22 11:07 mateozupanjac

Probably fine right now.

asvae avatar Jan 26 '24 11:01 asvae