r/Strapi•
CriticalScholar

How to build strapi and deploy on a local node.js server

Question

I tried doing npm run build and it outputs the static files but I'm not able to access the admin panel.

when I run it in http-server on port 1337, I get 404 errors to /admin/main...js and /admin/runtime...js but there is no /admin folder.

The deployment documentation barely explains anything related to this and all other methods of deployment seem to be via Docker/AWS/Azure/Heroku

Posted Nov 1, 2023, 4:00 PM UTC

11
Loading comments…