Hi @mxhaib , welcome to the forums! Can you try the following please only AFTER you got it working locally first?
- check the version of node and npm installed on your computer
- set the environment variables in netlify: NODE_VERSION with value of the version installed on your computer. Do the same with NPM_VERSION
If that doesn’t help please give this support guide a read.