I am using NodeJS version 18. I am trying to deploy my Angular app to Firebase and/or run it successfully on my local, but I am unable to do so. [link to package.json and source code] -> https://github.com/anshumankmr/jovian-genai-hackathon/blob/master/UI/package.json
I have tried a lot of things but I am unable to figure it out. For example, in my angular.json file, I tried this:
and this
Then I tried running 'npm run build' I got the following error however.
Error: Module not found: Error: Can't resolve '/home/anshuman/Documents/repos/jovian-genai-hackathon/UI/zone.js' in '/home/anshuman/Documents/repos/jovian-genai-hackathon/UI'
I have seen these links, but they are asking to modify a file here called polyfills.ts which doesn't exist in my codebase. Angular2 Final Release - "Error: Angular requires Zone.js prolyfill"
And this describes the exact opposite of what my current problem is : Terminal error: Schema validation failed with the following errors: Data path "['polyfills']" should be array