melsonic
melsonic
TTwenty
Created by melsonic on 8/20/2024 in #❓︱help
Error in Local Setup
Hi everyone, I am trying to setup twenty locally, but facing some issue here. Firstly when i ran npm install it shows me the following error
❯ npm install
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/passport
npm ERR! passport@"^0.7.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer passport@"^0.4.0 || ^0.5.0 || ^0.6.0" from @nestjs/[email protected]
npm ERR! node_modules/@nestjs/passport
npm ERR! @nestjs/passport@"^9.0.3" 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!
npm ERR! For a full report see:
npm ERR! /home/neilbenz/.npm/_logs/2024-08-20T19_32_33_994Z-eresolve-report.txt
❯ npm install
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/passport
npm ERR! passport@"^0.7.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer passport@"^0.4.0 || ^0.5.0 || ^0.6.0" from @nestjs/[email protected]
npm ERR! node_modules/@nestjs/passport
npm ERR! @nestjs/passport@"^9.0.3" 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!
npm ERR! For a full report see:
npm ERR! /home/neilbenz/.npm/_logs/2024-08-20T19_32_33_994Z-eresolve-report.txt
So, in package.json file I changer the passport version to a supportin version 0.6.0. Now when i ran npm install it shows me the following error
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "patch:": patch:[email protected]#./packages/twenty-server/patches/typeorm+0.3.20.patch
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "patch:": patch:[email protected]#./packages/twenty-server/patches/typeorm+0.3.20.patch
24 replies