1
設置twilson63構建的express coffee app。看起來蛋糕找不到咖啡,但它們都可以用which
。我還需要在這裏做些什麼嗎?這是我的步驟:我該如何告訴蛋糕在哪裏尋找咖啡?
[email protected] ~/dev/express-coffee-master
$ which coffee
/c/Users/jcollum/AppData/Roaming/npm/node_modules/coffee-script/bin/coffee
好的咖啡就在那裏。
[email protected] ~/dev/express-coffee-master
$ which cake
/c/Users/jcollum/AppData/Roaming/npm/node_modules/coffee-script/bin/cake
蛋糕也是如此。
[email protected] ~/dev/express-coffee-master
$ cake
Cakefile defines the following tasks:
cake docs # Generate annotated source code with Docco
cake build
cake spec # Run Mocha tests
cake test # Run Mocha tests
cake dev # start dev env
cake debug # start debug env
cake scaffold # scaffold model/controller/test
-n, --name name of model to `scaffold`
Cake在本地找到了一個cakefile。
[email protected] ~/dev/express-coffee-master
$ cake dev
c:\Users\jcollum\dev\express-coffee-master\node_modules\which\which.js:83
throw new Error("not found: "+cmd)
^
Error: not found: coffee
at Function.whichSync [as sync] (c:\Users\jcollum\dev\express-coffee-master\node_modules\which\which.js:83:9)
at Object.options [as action] (c:\Users\jcollum\dev\express-coffee-master\Cakefile:121:17)
at helpers.extend.invoke (c:\Users\jcollum\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\cake.js:44:26)
at Object.exports.run (c:\Users\jcollum\AppData\Roaming\npm\node_modules\coffee-script\lib\coffee-script\cake.js:69:21)
at Object.<anonymous> (c:\Users\jcollum\AppData\Roaming\npm\node_modules\coffee-script\bin\cake:7:38)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
Bzzzzttt!不。我懷疑這是Windows 7和節點不能很好地結合在一起的問題。
你指的蛋糕不是cakePHP吧?我認爲你指的是cake.coffee(CoffeeScript的make的簡化版本)。我被標籤弄糊塗了。 – jimiyash 2013-02-12 20:36:34
@jimiyash是的,一定是選錯了標籤;看起來像benzado得到它感謝benzado – jcollum 2013-02-12 22:26:11