npm install fails

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
max-primefaces
Posts: 1
Joined: 19 Jun 2021, 12:51

19 Jun 2021, 13:03

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: freya@1.0.0
npm ERR! Found: vue@3.0.6
npm ERR! node_modules/vue
npm ERR! vue@"3.0.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"3.1.1" from @vue/compiler-sfc@3.1.1
npm ERR! node_modules/@vue/compiler-sfc
npm ERR! dev @vue/compiler-sfc@"^3.0.0" from the root project

What do I do?

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

21 Jun 2021, 08:57

What is your npm version?

vivastate
Posts: 10
Joined: 18 Jun 2021, 13:08

28 Jun 2021, 20:43

I had the same error install vue first

what i did

Code: Select all

npm install vue@next
then

Code: Select all

npm install
That got me through

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

30 Jun 2021, 08:37

Hi,

Please firstly try to remove package-lock.json file and install it again. package-lock.json sometimes causes problems.

Post Reply

Return to “Freya - PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest