pages build Error: Failed to publish your Function. Got error: Uncaught ReferenceError: global

pages build log Error: Failed to publish your Function. Got error: Uncaught ReferenceError: global is not defined how to fix
3 Replies
ttttttttkt
ttttttttktOP3d ago
lock frontend repo package version!
Jvkhlntgs
Jvkhlntgs2d ago
Did you fix it ?
Walshy
Walshy2d ago
It's due to a bad next-on-pages update, hotfix is on the way Got a bit busy with other things to followup but fyi fixed version of next-on-pages is released: https://github.com/cloudflare/next-on-pages/releases/tag/%40cloudflare%2Fnext-on-pages%401.13.12

Did you find this page helpful?