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

  1. i checked forever commands , saw logs command provides running forever applications log files.
  2. when checked log file under c:\users\user-name\forever saw warning sails migrate settings should have been done.
  3. then read this documentation sails migrate settings , set project migrte: 'safe' .

now works fine.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -