我正在寫一個燼應用程序,並沒有使用rails或grunt的任何東西。我以前有那個了文本文件很短的Python程序,並做了一些markdown
的東西與他們,然後將它們全部編譯到一個templates.js
文件中使用ember-precompile
:升級沒有導軌或咕嚕聲的灰燼預編譯
ember-precompile templates/*.hbs -f templates/templates.js
這偉大的工作,直到我升級燼,而現在我米得到這個錯誤。
Uncaught Template was precompiled with an older version of Handlebars than the current runtime.
Please update your precompiler to a newer version (>= 1.0.0) or downgrade your runtime to an older version (== 1.0.0-rc.3).
我需要升級我的餘燼,預編譯程序,但像changing a grunt config或changing gemfiles解決方案是不適合我,因爲我沒有使用任何這些工具。
此外,嘗試upgrade或reinstall根本沒有做任何改變。
灰燼版本Version: v1.0.0 Last commit: e2ea0cf (2013-08-31 23:47:39 -0700)
把手版本Handlebars.VERSION = "1.0.0";
隨意填寫在我的理解任何空隙。對於短期的開發目的,我只是將我的模板放在index.html
中,但我想先對我的模板進行降價,這樣就不會永遠做下去。
我已經意識到了這一點,但我試圖升級我的'ember-precompile',但我一直無法。我編輯了我的帖子以清楚說明。 – blaineh