當我嘗試使用'cake'命令時,我總是收到此錯誤。它似乎與CoffeeScript有衝突。CakePHP:與CoffeeScript衝突的Cakefile
/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:108
throw new Error("Cakefile not found in " + (process.cwd()));
^
Error: Cakefile not found in /Users/kevingorjan/e-Merce/Learning/CakePHP/Blog_demo/lib/Cake/Console
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:108:11
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:106:14
我該如何解決這個問題?
謝謝,但我不知道如何改變它? –
好的,我在bashrc中添加了PATH,重新加載了bashrc,但它不起作用。現在我將CoffeeScript中的「蛋糕」命令改爲「蛋糕」,現在它完美運行,但我不認爲這是正確的解決方案。有什麼建議麼? –
好吧,找到它,改變它,現在它完美的工作!謝謝! –