Sails Js permissions

后端 未结 2 1361
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-28 10:46

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

相关标签:
2条回答
  • 2021-01-28 11:41

    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']
      });
    
    0 讨论(0)
  • 2021-01-28 11:43

    You can add options: { force: true } option to Grunt task
    Also, can you provide full Gruntfile?

    0 讨论(0)
提交回复
热议问题