Page generation "Module not found" error

I’m getting this error when trying to publish a react pages branch

Plugin Generator-6fj3mjn7ot failed validation: loading failed: Module not found “Generator-6fj3mjn7ot:src/manifest.json”. at Generator-6fj3mjn7ot:src/mod.ts:1:22

This is the site (dev branch): https://www.yext.com/s/1307372/yextsites/126280/branch/89483/deploys/recent

Is there anything I need to add or change for this to publish? I haven’t been changing config files or anything

If you look at the build there are errors

2023-12-04T15:06:52Z: #21 23.14 ✖ [190ms] One or more template modules failed validation

2023-12-04T15:06:52Z: #21 23.14 Bundled file /opt/buildhome/repo/dist/assets/static/background-about-e5ddaa83.jpg exceeds max size of 1.5 MB

More recent versions of PagesJS have fixed both the file size limit you’re getting and it will also properly fail the build instead of moving on to the generation phase.

The recommendation would be to upgrade your version of PagesJS.

An alternative solution would be to lower the jpg filesize. Most likely you don’t want to load a 1.5MB image on a webpage anyways.