Sometimes you may check your build folder
For React rm -rf build node_modules package-lock.json npm install npm run build ls -la build # Check if files are correct
For Angular rm -rf dist node_modules package-lock.json npm install ng build --configuration=production ls -la dist/YOUR_PROJECT_NAME # Check if files are correct
this may help