0

.profile ファイルに Cakes 環境パスを設定しましたが、

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

1 に答える 1

0

Cakephp の Cake シェルの名前を Cakes に変更して、coffeescript の Cake ファイルと競合しないようにすることで、問題を修正しました。

于 2012-04-12T05:09:58.863 に答える