Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

p3drojimenez's avatar

SyntaxError: Unexpected end of JSON input - Inertia SSR Localy

Hi! i was wondering if someone could help me with this issue, Im getting this issue when i run the command locally:

yarn run mix --production && mix --production --mix-config=webpack.ssr.mix.js
node public/js/ssr.js

I have this issue when i try to access locally:

http://127.0.0.1:13714/render

Starting SSR server on port 13714...
Inertia SSR server started.
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)

Thanksa lot guys!!

0 likes
0 replies

Please or to participate in this conversation.