node.js - Sails.js is not working with forever -
i m new on both sails.js , node.js. created simple api sails.js. works fine when start sails lift --prod
. on other hand when start application forever start app.js --prod
, returns 0 altough dont not error , warning , can see app.js in list forever list command. created simple node.js application test forever , worked expected. tried run sails.js application both local windows , linux/ubuntu machine on digital ocean, worked fine sails lift not forever. tried node app.js --verbose
, ok. sails version 0.11.4. thanx help.
well start application forever. did
- i checked forever commands , saw logs command provides running forever applications log files.
- when checked log file under c:\users\user-name\forever saw warning sails migrate settings should have been done.
- then read this documentation sails migrate settings , set project migrte: 'safe' .
now works fine.
Comments
Post a Comment