vuestic-admin
vuestic-admin copied to clipboard
npm install on macOS error
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!
facing same error !!
facing same error !! what to do???
@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
one workaround is to add '--force' or '--legacy-peer-deps', so like this -> npm install --force
or npm install --legacy-peer-deps
Probably fine right now.