0

How can I keep running Vite React App on AWS Lightsail production environment? I have deployed my app on lightsail. When I give command "npm run preview. It runs on given IP and connected domain. but when SSH connected terminal is closed, It shows service unavailable.

How Can I Solve this problem. Explain in details.

I have tried to run using npm forever. But I don't have idea how to use that.

Aman Gupta
  • 658
  • 1
  • 8
  • 14

0 Answers0