0

我在我的 .profile 文件中设置了 cakes 环境路径,但似乎

> cake

已被 node.js 咖啡脚本占用,并输出以下错误

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)
4

1 回答 1

0

修复了这个问题,将 cakephp 的蛋糕壳重命名为 cakes,这样它就不会与 coffeescript cake 文件冲突。

于 2012-04-12T05:09:58.863 回答