2015-07-19 70 views
0

我想運行boostrap/metetor文件。我得到這個錯誤流星應用程序崩潰本地主機:3000

你的應用程序崩潰。這是最新的日誌。

C:\Users\andrew\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245 
         throw(ex); 
          ^
Error: Bootstrap's JavaScript requires jQuery 
    at app\bootstrap-3.3.4-dist\js\bootstrap.js:8:9 
    at app\bootstrap-3.3.4-dist\js\bootstrap.js:2319:3 
    at C:\Users\andrew\Desktop\teetimesM\teetimesM\.meteor\local\build\programs\server\boot.js:222:10 
    at Array.forEach (native) 
    at Function._.each._.forEach (C:\Users\andrew\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11) 
    at C:\Users\andrew\Desktop\teetimesM\teetimesM\.meteor\local\build\programs\server\boot.js:117:5 
Exited with code: 8 
Your application is crashing. Waiting for file change. 

我有所有的jQuery標籤包括以及所有js文件的標籤。

>

我在哪裏丟失或如何糾正?

+0

包含bootstrap的最簡單方法是使用像'meteor add twbs:bootstrap'這樣的包。必須是某種加載順序問題。 –

+0

是的,我正在使用引導程序插件 –

+0

我按照這裏的安裝說明。 http://eonasdan.github.io/bootstrap-datetimepicker/Installing/ –

回答

0

您不需要添加jQuery包(它與流星捆綁在一起),或者添加任何腳本標記。刪除腳本標籤,只需在終端的應用目錄中輸入meteor add twbs:bootstrap(或使用您的首選引導軟件包)。