When publishing the Plasmic Project to a private github repo as codgen next.js I get an error on the plasmic sync step while it’s installing packages, it seems to vary which package it breaks on. The error is “stdout maxBuffer length exceeded”
Has anyone seen this error before or know how to fix it?
Hi @duncan_quickfall
Could you please share your project id?
Hi @muhammad_asim, yeah it’s aAU9PiEAguDKj1NvsVs4i6. Thanks
Hey @duncan_quickfall
Could you please try again and confirm if the issue is occurring constantly on your end? it would also be helpful if you could share a complete log of the Plasmic sync step from the Github actions.
Additionally, I’ve just triggered the workflow for a copy of your project with same Nextjs codegen configuration in a private repo and it deploys successfully.
Thanks
Hi sorry I meant to reply to this a while ago.
It’s fixed now, it turns out that because there was already a package.json in the github repo it was skipping the initialize step of the script which was causing it to break when it ran the plasmic sync step. Deleting the package.json fixed it.
Thanks for the help