I got a sailsjs app on a debian server. My only user is root, I installed everything in root (npm install, npm install sails -g, npm install pm2 -g). When I try to deploy it wit
Looks like, you updated your Node.Try to delete .tmp folder Also edit tasks/config/clean.js:
grunt.config.set('clean', { options: { force: true }, dev: ['.tmp/public/**'], build: ['www'] });
You can add options: { force: true } option to Grunt task Also, can you provide full Gruntfile?
options: { force: true }