俺是 Pythoner 没有 CoffeeScript 活不成吼
- 但是,怎么在 NAE 中运行 coffee 脚本作为应用?
packet.json 中
,"main" : "app.coffee"
吼俺:
TypeError: Property '.coffee' of object #<Object> is not a function
at [object Object].load
(/home/admin/cnae/git/cnode-app-engine/lib/sandbox.js:150:17)
at Function._loadFile
(/home/admin/cnae/git/cnode-app-engine/lib/sandbox.js:176:10)
at Function.run
(/home/admin/cnae/git/cnode-app-engine/lib/sandbox.js:357:18)
at Array.0 (/home/admin/cnae/git/cnode-app-engine/lib/child.js:83:11)
at EventEmitter._tickCallback (node.js:192:40)
如果使用
,"main" : "coffee app.coffee"
根本就:
$ nae restart
[INFO] * connection established !
[ERROR] urisaok start fail, process exit code: 1, sig:null
[INFO] * connection closed !
怎么整的,大家?
--
人生苦短, Pythonic! 冗余不做,日子甭过!备份不做,十恶不赦!
俺: http://about.me/zoom.quiet
文字协议: http://creativecommons.org/licenses/by-sa/2.5/cn/
- 看帮助中説,其实是建议的
- 但是,使用后效果如何,得猜,,