0
我已經設置蛋糕環境路徑在我的.profile文件,但是似乎node.js的外殼採用CakePHP的環境變量衝突
> cake
已採取的Node.js的CoffeeScript,並輸出以下錯誤
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cakefile not found in /Users/Devric
at /opt/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:96:11
at /opt/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:95:32
at /opt/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:95:32
at Object.run (/opt/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:46:19)
at Object.<anonymous> (/opt/local/lib/node_modules/coffee-script/bin/cake:7:38)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
你期待它做什麼,爲什麼你不能直接調用它? – 2012-04-11 16:44:42
um ..使用cakephp的cake命令,而不是節點cakefile。如果我通過路徑調用蛋糕殼,那麼路徑將被鎖定到存儲shell的位置,這對於烘烤應用程序來說並不理想 – devric 2012-04-11 23:13:57