[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-package-lock-json-is-out-of-date-with":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":30,"why":45,"log":51,"fix":99,"engine":111,"related":115,"pitch":122},"express","package-lock-json-is-out-of-date-with","package-lock.json is out of date with package.json","Express",{"description":9},"The project's package-lock.json does not match its package.json (npm: Missing: @types\u002Freact@19.3.0 from lock file), and `npm ci` installs only from a lockfile t",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fexpress",{"label":6},"",[19,21,24,26,28],{"text":20},"The project's package-lock.json does not match its package.json (npm: Missing: @types\u002Freact@19.3.0 from lock file), and ",{"text":22,"code":23},"npm ci",true,{"text":25}," installs only from a lockfile that does. Regenerate it with ",{"text":27,"code":23},"npm install",{"text":29}," and commit it.",[31,36,39,41],{"label":32,"value":33,"tone":34,"tooltip":35},"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":37,"value":38},"Seen","2 times",{"label":40,"value":7},"Where",{"label":42,"value":43,"tooltip":44},"Status","Resolve Ready","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":46,"body":47},"Why it happens",[48,49],{"text":22,"code":23},{"text":50}," installs only from a lockfile that matches package.json, and this lockfile is missing a package that package.json now requires (the React type definitions). The engine showed npm's usage text instead of this reason; that is being fixed.",{"heading":52,"block":53},"What the log looks like",{"header":54,"lines":55},"Deploy log",[56,60,64,68,72,76,80,84,88,91,95],{"segments":57},[58],{"text":59},"npm error [--allow-scripts \u003Cpackage-list> [--allow-scripts \u003Cpackage-list> ...]]",{"segments":61},[62],{"text":63},"npm error [--strict-allow-scripts] [--dangerously-allow-all-scripts] [--no-audit]",{"segments":65},[66],{"text":67},"npm error [--no-bin-links] [--no-fund] [--dry-run]",{"segments":69},[70],{"text":71},"npm error [-w|--workspace \u003Cworkspace-name> [-w|--workspace \u003Cworkspace-name> ...]]",{"segments":73},[74],{"text":75},"npm error [--workspaces] [--include-workspace-root] [--install-links]",{"segments":77},[78],{"text":79},"npm error",{"segments":81},[82],{"text":83},"npm error   --install-strategy",{"segments":85},[86],{"text":87},"npm error     Sets the strategy for installing packages in node_modules.",{"segments":89},[90],{"text":79},{"segments":92},[93],{"text":94},"npm error   --legacy-bundling",{"segments":96},[97],{"text":98},"npm error     Instead of hoisting package installs in `node_modules`, install pac…",{"heading":100,"steps":101,"block":108},"How to fix it",[102],[103,105,106],{"text":104},"Run ",{"text":27,"code":23},{"text":107}," in the repository, commit the updated package-lock.json and redeploy.",{"header":109,"lines":110},"Fix by hand",[],{"heading":17,"body":112,"block":113},[],{"header":17,"lines":114},[],{"heading":116,"items":117},"Apps affected",[118],{"title":119,"badge":120,"tone":34,"href":121},"electerm-web","2 occurrences","\u002Fapps\u002Felecterm\u002Felecterm-web",{"heading":123,"body":124,"footNote":125,"docsLabel":126,"docsHref":127},"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"]