Hard to say what is happening there, @prasanthsasikumar. Have you tried following our generic build debugging advice? I can’t imagine that build works differently on your machine, for instance?
If so, that article STILL has good advice for you on making sure we run the same versions of commands that you do
Also - in case the file is in large media which I think you are using due to this logline:
11:29:26 PM: Netlify Large Media is enabled, running git commands with GIT_LFS_SKIP_SMUDGE=1
…then, you don’t have access to the file during build, only its LFS pointer - only after deploy will the file be loadable; during build, you see a pointer to it that you cannot apply image processing to.