I am getting an error with no details when pushing my site to Cloudflare pages. I was able to compile the site locally with
npx @cloudflare/next-on-pages but on Cloudflare I get this error?
23:09:01.121 ➤ YN0000: └ Completed in 19s 572ms 23:09:01.216 ➤ YN0000: ┌ Post-resolution validation 23:09:01.217 ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden. 23:09:01.217 ➤ YN0000: └ Completed 23:09:01.217 ➤ YN0000: Failed with errors in 19s 671ms 23:09:01.309 Error: Exit with error code: 1 23:09:01.310 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js) 23:09:01.310 at Object.onceWrapper (node:events:652:26) 23:09:01.310 at ChildProcess.emit (node:events:537:28) 23:09:01.310 at ChildProcess._handle.onexit (node:internal/child_process:291:12) 23:09:01.318 Failed: build command exited with code: 1 23:10:17.087 Failed: error occurred while running build command