austinbaccus / forza-telemetry

Record and Display Telemetry from Forza Motorsport 7, Horizon 4, and Horizon 5.
MIT License
221 stars 35 forks source link

Can't get the app to run #65

Open DiabloSenpai opened 10 months ago

DiabloSenpai commented 10 months ago

I have followed all the steps. I have installed .net on my pc:

C:\Users\\OneDrive\Desktop>dotnet --list-sdks 6.0.416 [C:\Program Files\dotnet\sdk]

Then used git to clone the repository to my local machine and then I ran npm install in forza-telemtry directory:

C:\Users\\OneDrive\Desktop\forza-telemetry>npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: custom-electron-titlebar@3.2.7 npm ERR! Found: electron@13.1.7 npm ERR! node_modules/electron npm ERR! dev electron@"^13.1.7" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer electron@"^10.0.0 || ^11.0.0 || ^12.0.0" from custom-electron-titlebar@3.2.7 npm ERR! node_modules/custom-electron-titlebar npm ERR! custom-electron-titlebar@"^3.2.7" from the root project npm ERR! npm ERR! Conflicting peer dependency: electron@12.2.3 npm ERR! node_modules/electron npm ERR! peer electron@"^10.0.0 || ^11.0.0 || ^12.0.0" from custom-electron-titlebar@3.2.7 npm ERR! node_modules/custom-electron-titlebar npm ERR! custom-electron-titlebar@"^3.2.7" 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! C:\Users\\AppData\Local\npm-cache_logs\2023-11-09T16_25_45_373Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\\AppData\Local\npm-cache_logs\2023-11-09T16_25_45_373Z-debug-0.log

Is it a problem on my part? Am I missing something?

gregghz commented 9 months ago

I get the same error.

gregghz commented 9 months ago

@DiabloSenpai https://github.com/austinbaccus/forza-telemetry/pull/68 -- this fixes it. If this doesn't get merged you can run it run my branch here in the mean time (may need to follow the other instructors in the PR too): https://github.com/gregghz/forza-telemetry

Zaahid15 commented 7 months ago

@gregghz i get a build error 1

The build failed. Fix the build errors and run again. lost Connection to dotnet was terminated (code: 1)

gregghz commented 7 months ago

@Zaahid15 can you provide more output? What did you try when you got that build error?