Totally messed up my important app

Well guys i did it again. Soehow I totally screwed up my ionic app. this app is a monster and it’s my companies money maker. I thought I had it backed up but when I went o ge tthe backup I found ou thte backup program didn’t work properly and I lost everything.

i don’t even know where to start or how to explain whats happening. I have so many errors and everything i try is for not. right now I’m trying to update the app but I keep getting errors. I gues sI can start right where I’m at. I;m trying to do an update in my app npm install --force --legacy-peer-deps and it gets pretty far until i get this stupid error > Neptune@1.1 postinstall

ngcc

‘ngcc’ is not recognized as an internal or external command, 392ms
operable program or batch file.
npm ERR! code 1
npm ERR! path D:\IONIC\NeptuneV2
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ngcc

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

This is one problem I’m having at the moment. After its fixed I’m sure I’ll have another error that I’ll try to fix then it will come back to this error.
No matter what I do I can’t get passed it. I really don’t know where to start troubleshooting this thing and fixing it.

Ngcc is angular compatibility compiler so this looks more like an angular upgrade issue than ionic

Angular 9 I think fully introduced Ivy so it might be that you need to look at your angular setup