Sails Js permissions

后端 未结 2 1360
佛祖请我去吃肉
佛祖请我去吃肉 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']
      });
    

提交回复
热议问题