Errors building js website with sharp package on Pages

I think this is due to some pre-configuration commands in the new V2 Build system,
try to read the logs to see what’s the problem,
this is my case here but for Jekyll, it may help you…