I have used angular v18, and I have moved files from the dist > browser folder to the main dist folder and it has resolved the error related to the 404 mainfest file.