Categories
gruntjs javascript nodejs

Recent deployment issue with Sailsjs and no assets being loaded. 

If you find it that when you deploy your sails app and no assets are being loaded. It’s because grunt is not being run when running sails lift.

Here is what I found was causing the problem.  Sails looks for this file .sailsrc when you run the app, it will override settings. In this case when I started the app grunt was not run.

{
  "generators": {
    "modules": {}
  },
  "hooks": {
    "session": false,
    "grunt": : false
  }
Some of the icks.org levitra 60 mg herbs are the roots of Angelica, Aswagandha, Psoralea corylifolia, Ho chou wu, gingko biloba etc. Healthcare professionals started liking the medication to viagra generic sildenafil  men with mild, moderate and sever erectile dysfunction. Prescription medications, penile implants, penile injection therapy, topical medications and vacuum pumps make up the discount canadian cialis  list of treatment methods readily available for men afflicted with Erectile dysfunction. Blood is foremost important requirement cialis without prescription that icks.org for the organ becoming erect. }

After removing the grunt property the .sailsrc file looked like below.

{
  "generators": {
    "modules": {}
  },
  "hooks": {
    "session": false
  }
}