Level 102
Make sure that you are running the newest versions of inertia in npm
Or post your package.json
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i was learning inertia ssr https://inertiajs.com/server-side-rendering in this documentation npm install @inertiajs/server is required to be installed when i run npm install @inertiajs/server in terminal it shows error as
C:\xampp\htdocs\learning\test_ssr_inertia>npm install @inertiajs/server
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @inertiajs/[email protected]
npm ERR! node_modules/@inertiajs/inertia
npm ERR! dev @inertiajs/inertia@"^0.10.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @inertiajs/inertia@"^0.11.0" from @inertiajs/[email protected]
npm ERR! node_modules/@inertiajs/server
npm ERR! @inertiajs/server@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\anilk\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user1\AppData\Local\npm-cache\_logs22-02-05T17_31_12_679Z-debug.log
how can i resolve this
@freemium newest is 11 i think
"@inertiajs/inertia": "^0.10.1",
Please or to participate in this conversation.