[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-dependency-conflict":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":18,"titleAccent":6,"lead":19,"facts":21,"why":36,"log":41,"fix":89,"engine":98,"related":105,"pitch":116},"dockerfile","dependency-conflict","Vite install fails on dependency conflict and native build setup","Dockerfile, Sveltekit, Vite",{"description":9},"The project's dependencies conflict with each other and could not be installed.",[11,14,17],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":15,"href":16},"Dockerfile","\u002Fapps\u002Fstacks\u002Fdockerfile",{"label":6},"",[20],{"text":9},[22,27,30,32],{"label":23,"value":24,"tone":25,"tooltip":26},"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":28,"value":29},"Seen","13 times · 4 variants",{"label":31,"value":7},"Where",{"label":33,"value":34,"tooltip":35},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":37,"body":38},"Why it happens",[39],{"text":40},"The install reaches dependency resolution but npm cannot reconcile the TypeScript ESLint packages: the project uses parser 5.x while the selected plugin requires parser 8.x. The install also attempts to build better-sqlite3, but Python is unavailable for node-gyp. The detected runtime is Node 26, while the project declares Node 20.19+ or 22.12+.",{"heading":42,"block":43},"What the log looks like",{"header":44,"lines":45},"Deploy log",[46,50,54,58,62,66,70,73,77,81,85],{"segments":47},[48],{"text":49},"npm error code ERESOLVE",{"segments":51},[52],{"text":53},"npm error ERESOLVE could not resolve",{"segments":55},[56],{"text":57},"npm error While resolving: @typescript-eslint\u002Feslint-plugin@8.69.0",{"segments":59},[60],{"text":61},"npm error Found: @typescript-eslint\u002Fparser@5.62.0",{"segments":63},[64],{"text":65},"npm error Could not resolve dependency:",{"segments":67},[68],{"text":69},"npm error peer @typescript-eslint\u002Fparser@\"^8.69.0\"",{"segments":71,"blank":72},[],true,{"segments":74},[75],{"text":76},"error: install script from \"better-sqlite3\" exited with 1",{"segments":78},[79],{"text":80},"gyp ERR! find Python",{"segments":82},[83],{"text":84}," gyp ERR! Could not find any Python installation to use",{"segments":86},[87],{"text":88},"Bun compile failed, retrying with Node",{"heading":90,"steps":91,"block":95},"How to fix it",[92],[93],{"text":94},"Align @typescript-eslint\u002Fparser and @typescript-eslint\u002Feslint-plugin versions across the root project and workspaces, then regenerate and commit the lockfile. Ensure Python and the required native build tools are available inside the build environment for better-sqlite3. Configure a supported Node 20 or 22 runtime, reinstall dependencies, and redeploy.",{"header":96,"lines":97},"Fix by hand",[],{"heading":99,"body":100,"block":103},"How PanelAlpha Engine solves it",[101],{"text":102},"Surface the dependency conflict as the primary failure while retaining native-build errors as contributing diagnostics. Validate the declared Node range before selecting the Vite runtime, and provide Python\u002Fbuild-tool availability or a compatible prebuilt dependency path for native modules.",{"header":18,"lines":104},[],{"heading":106,"items":107},"Apps affected",[108,112],{"title":109,"badge":110,"tone":25,"href":111},"vendure","2 occurrences","\u002Fapps\u002Fvendurehq\u002Fvendure",{"title":113,"badge":114,"tone":25,"href":115},"docsify","1 occurrence","\u002Fapps\u002Fdocsifyjs\u002Fdocsify",{"heading":117,"body":118,"footNote":119,"docsLabel":120,"docsHref":121},"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"]