我正在嘗試構建在脊柱框架中作爲TODO示例給出的代碼。我已經使用npm安裝了coffescript,並且它包含了蛋糕生成器。Cakefile構建任務錯誤
當我瀏覽到Cakefile目錄,並執行cake build
我收到以下錯誤:
src/local.coffee:1:1: error: the variable "Spine" can't be assigned with ?= because it has not been declared before Spine ?= require('spine') ^^^^^
蛋糕文件我嘗試運行是默認使用的例子來,而且是在同一目錄的git copy https://github.com/maccman/spine.todos。
我在網上做了搜索,但找不到這個問題的報告,或者我怎麼解決它。其他情況下出現此錯誤(https://github.com/maccman/spine.contacts/pull/14),但解決方案無法應用於TODO示例。