Problems: Failed during stage 'building site': Build script returned non-zero exit code: 2

Sorry I really have problems in deploying the site since I changed the domain to my custom domain and edit some other stuff of the webstie. The log is like this:
https://app.netlify.com/sites/pingfan-su/deploys/627a74552c387100083774c4

And the respository:
https://github.com/pufffs/starter-hugo-academic/blob/main/netlify.toml

hi there,

looks like your build is failing as we couldn’t find the package.json file we need to know how to built your project and which dependencies it needs:

7:19:22 AM: $ CI= npm run build
7:19:23 AM: npm ERR! code ENOENT
7:19:23 AM: npm ERR! syscall open
7:19:23 AM: npm ERR! path /opt/build/repo/package.json
7:19:23 AM: npm ERR! errno -2
7:19:23 AM: npm ERR! enoent ENOENT: no such file or directory, open '/opt/build/repo/package.json'
7:19:23 AM: npm ERR! enoent This is related to npm not being able to find a file.
7:19:23 AM: npm ERR! enoent
7:19:23 AM: npm ERR! A complete log of this run can be found in:
7:19:23 AM: npm ERR!     /opt/buildhome/.npm/_logs/2022-05-10T14_19_23_194Z-debug-0.log

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!