Hi guys,
I'm setting up my base project with Jetstream, Ziggy, and the follwoing Inertia features: SSR on server side, and code splitting and dynamic imports on client side but I get this message when running the public/js/ssr.js in node, but I can't figure it out on why it logs this error, I can't even understand this error.
Besides the public folder, I can find document in Dropdown.vue and Modal.vue, both from JetStream, nothing in the Welcome.vue, and any of that components are used in Welcome.vue
What command did you run exactly to get the error? Are you sure that you compiled the ssr.js without error? I just gave it a shot and got an error, that it could not find ziggy. After fixing that, it compiled, and I could run node public/js/ssr.js
@Sinnbeck to reproduce the error: compile everything, serve the app, and while running "node public/js/ssr.js" open homepage (http://localhost:8000/), you will se the error on the command prompt you are running "node public/js/ssr.js".
Anyway, I run "npm i ziggy-js" and set everything up as you sayed, but still, getting the error.
The app runs perfectly, that's a fact, but this error/log is puzzling me...