Hi Vaibhav - can you answer the below questions
- Are you deploying a react app
- Following the procedure which I mentioned here or directly putting your static files from local (generated after build) to netlify?
- What is the yarn package manager error ?
- Go to deploy settings -> edit settings -> build settings -> build command - enter as ci=yarn build and save
- Go to retry deploy -> Deploy site.
I'm not very confident if the above would resolve your issue but that has helped a lot of people, even in stack overflow I had come across this solution. Do give a try and also respond to the questions so that we would come to know about the exact issue.