Encountering an issue with a local repository during the rebuild process. After setting up the solution on our server, pushing it to Azure DevOps, pulling it locally, running npm
install, and rebuilding, I am facing a TypeScript error. Interestingly, my co-worker does not experience the same problem; the repository works perfectly for her. However, when I installed the same repository on a blank laptop, I encountered the same issue as on my local machine.
I am using VS 2022 similar to the setup on the server, and all the packages are identical as well.
Here is the GitHub repository I installed: https://github.com/HBSTech/Kentico13CoreBaseline
Below are the errors from the output:
What I have attempted so far: I checked that the TypeScript version and @types/node version were compatible by referencing this Stack Overflow post: I am getting an ERROR when compiling Angular 6 project
I experimented with upgrading, downgrading, and various combinations of TS & node versions. Ensured that Visual Studio 2022 and Windows are both up to date. However, even after copying the working repository directly from the server to my local machine, I still encountered the same error during the rebuild. There might be other steps I have taken that I cannot recall at the moment.
Lastly, I should mention that this is my initial encounter with TypeScript and these particular types of errors, so please pardon any novice questions or assumptions on my part. Thank you.