ReferenceError: __filename is not defined in ES module scope
I've created an app using solid-start and sucessfuly hosting it on my windows PC with no issue.
But then I decided to change host to my Rasberry Pi 4 running ubuntu server.
Everything went fine and I've managed to build my app again just like on Windows machine
(environment is the same on both machine - node.js 20.8.10, npm 10.1)
Build messages are the same, everything goes fine. I'm even able to run dev server on my Pi and connect to it.
But when I run
solid-start build
and then solid-start start
I'm getting this message:
0 Replies