debug改为false后执行make build 提示Permission denied
发布于 1 天前 作者 devkerby 102 次浏览 来自 问答

cnodeclub部署后发现不能发送邮件,看到https://github.com/cnodejs/nodeclub/issues/751,把debug改为false,执行 node app

# node app
[2016-03-31 16:13:15.351] [ERROR] cheese - You must execute `make build` before start app when mini_assets is true.
/home/workspace/bbs/app.js:56
    throw e;
    ^

Error: Cannot find module './assets.json'
  at Function.Module._resolveFilename (module.js:325:15)
  at Function.Module._load (module.js:276:25)
  at Module.require (module.js:353:17)
  at require (internal/module.js:12:17)
  at Object.<anonymous> (/home/workspace/bbs/app.js:53:14)
  at Module._compile (module.js:409:26)
  at Object.Module._extensions..js (module.js:416:10)
  at Module.load (module.js:343:32)
  at Function.Module._load (module.js:300:12)
  at Function.Module.runMain (module.js:441:10)
  at startup (node.js:139:18)
  at node.js:968:3

# make build
make: execvp: ./node_modules/loader-builder/bin/builder: Permission denied
make: *** [build] Error 127
回到顶部