[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-yn0050-the-frozen-lockfile-option-is-deprecated":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":19,"lead":20,"facts":23,"why":38,"log":43,"fix":84,"engine":93,"related":101,"pitch":111},"nextjs","yn0050-the-frozen-lockfile-option-is-deprecated","Next.js build stopped during Yarn dependency installation","Nextjs, Vite",{"description":9},"Learn what causes Next.js build stopped during Yarn dependency installation, how PanelAlpha Engine responds to it during deployment.",[11,14,17],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":15,"href":16},"Nextjs","\u002Fapps\u002Fstacks\u002Fnextjs",{"label":6},"Next.js build stopped during ","Yarn dependency installation",[21],{"text":22},"Error recorded 2 times in PanelAlpha Engine deploys on Nextjs, Vite. The deploy log below is the recorded failure output.",[24,29,32,34],{"label":25,"value":26,"tone":27,"tooltip":28},"Type","Error","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":30,"value":31},"Seen","2 times · 2 variants",{"label":33,"value":7},"Where",{"label":35,"value":36,"tooltip":37},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":39,"body":40},"Why it happens",[41],{"text":42},"The Next.js build reached Yarn 4 dependency resolution and validation, then failed while running on the host. The available telemetry shows many peer and version mismatches, but not the final fatal error. The dependency warnings may be related, or the actual failure may be further down in the truncated log.",{"heading":44,"block":45},"What the log looks like",{"header":46,"lines":47},"Deploy log",[48,52,56,60,64,68,72,76,80],{"segments":49},[50],{"text":51},"Compiling application on host",{"segments":53},[54],{"text":55},"➤ YN0050: The --frozen-lockfile option is deprecated; use --immutable and\u002For --immutable-cache instead",{"segments":57},[58],{"text":59},"➤ YN0000: · Yarn 4.13.0",{"segments":61},[62],{"text":63},"➤ YN0000: ┌ Resolution step",{"segments":65},[66],{"text":67},"➤ YN0000: └ Completed in 1m 10s",{"segments":69},[70],{"text":71},"➤ YN0060: @mantine\u002Fhooks ... doesn't satisfy ... @mantine\u002Fcore ...",{"segments":73},[74],{"text":75},"➤ YN0060: @nestjs\u002Fgraphql ... doesn't satisfy ... @graphql-yoga\u002Fnestjs",{"segments":77},[78],{"text":79},"➤ YN0002: workspace package doesn't provide a required peer dependency",{"segments":81},[82],{"text":83},"... log truncated before the terminating error",{"heading":85,"steps":86,"block":90},"How to fix it",[87],[88],{"text":89},"Review the complete build log after the Yarn validation messages to find the first fatal error. Align the reported package and peer dependency versions, especially the mismatched NestJS, GraphQL, React, Redis, and Mantine packages. Regenerate and commit the Yarn lockfile with the repository’s required Yarn version, then retry the deployment.",{"header":91,"lines":92},"Fix by hand",[],{"heading":94,"body":95,"block":98},"How PanelAlpha Engine solves it",[96],{"text":97},"Preserve and expose the final non-zero command, exit code, and untruncated Yarn output. Classify YN0060 and YN0002 peer warnings separately from the fatal build error, and use Yarn 4’s --immutable mode when the repository requires Yarn 4.",{"header":99,"lines":100},"",[],{"heading":102,"items":103},"Apps affected",[104,108],{"title":105,"badge":106,"tone":27,"href":107},"AFFiNE","1 occurrence","\u002Fapps\u002Ftoeverything\u002Faffine",{"title":109,"badge":106,"tone":27,"href":110},"twenty-monorepo","\u002Fapps\u002Ftwentyhq\u002Ftwenty",{"heading":112,"body":113,"footNote":114,"docsLabel":115,"docsHref":116},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]