You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% yarn next build
yarn run v1.22.19
$ /Users/stephan/environments/mod/frames-render-demo/node_modules/.bin/next build
▲ Next.js 14.2.3
Creating an optimized production build ...
✓ Compiled successfully
✓ Linting and checking validity of types
Collecting page data ../Users/stephan/environments/mod/frames-render-demo/.next/server/app/page.js:32
*/e.parse=o,e.serialize=s;var i=decodeURIComponent,n=encodeURIComponent,r=/;*/,t=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;functiono(e,a){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var n={},t=a||{},o=e.split(r),s=t.decode||i,u=0;u
...
__create(__getProtoOf(e)):{},__copyProps(!a&&e&&e.__esModule?i:__defProp(i,"default",{value:e,enumerable:!0}),e)),__publicField=(e,a,i)=>(__defNormalProp(e,"symbol"!=typeof a?a+"":a,i),i),init_esm_shims=__esm({"../../node_modules/tsup/assets/esm_shims.js"(){}}),require_long=__commonJS({"../../node_modules/long/src/long.js"(e,a){init_esm_shims(),a.exp
> Build error occurred
Error: Failed to collect page data for /
at /Users/stephan/environments/mod/frames-render-demo/node_modules/next/dist/build/utils.js:1268:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'Error'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
stephancill
changed the title
@frames.js/render Build error occurred Error: Failed to collect page data for /
@frames.js/render Build error occurred Error: Failed to collect page data for
May 20, 2024
This is an upstream issue, probably in next.js. It doesn't work in next@14.2.x but downgrading to 14.1.4 fixes that.
I was able to trace it to @farcaster/core dependency that breaks the next.js@14.2.x production build, but wasn't able to find what exactly causes the build to fail.
Error
Steps to reproduce
yarn build
Workaround
Fix the error by disabling prebuilding
The text was updated successfully, but these errors were encountered: