Sails server: Can not lift in production on AWS server

Viewed 72

On running the production server on the ec2 host, it's not working. It just fails silently.

Interestingly, running it on staging works. And also if I copy the content of production.js to staging.js, I can lift the staging server which has production config.

But using NODE_ENV=production node app.js always fails.

I have even checked the permission, it's the same for all production.js and staging.js

-rw-r--r-- 1

It works on my mac, but somehow on AWS ec2 ubuntu instances, I am facing this issue.

Any help is appreciated. Thanks

0 Answers
Related