spurtcommerce/multivendor-marketplace

API npm install - error

Vincent-Bryson opened this issue · 1 comments

Hi,
I have downloaded Spurtcommerce_3.0.2_community_LTS edition.
when i do npm install from api folder getting below error:

gubbi@gubbi:~/Desktop/Spurtcommerce_3.0.2_community/api$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: SpurtCommerce@3.0.2
npm ERR! Found: class-validator@0.8.5
npm ERR! node_modules/class-validator
npm ERR! class-validator@"^0.8.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer class-validator@"^0.9.1" from class-transformer-validator@0.7.1
npm ERR! node_modules/class-transformer-validator
npm ERR! class-transformer-validator@"^0.7.1" 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 /home/gubbi/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/gubbi/.npm/_logs/2022-05-11T18_29_14_558Z-debug-0.log

please let me know how to fix that install error?

Thank you.

you can upgrade Spurtcommerce 4.8.0

 node v14.15.0
and then

npm start build

and

npm start serve 

Thank you.