[英]Meteor app crashing localhost:3000
我正在嘗試運行boostrap / metetor文件。 我收到此錯誤
您的應用崩潰了。 這是最新的日志。
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文件的標簽。
>
我在哪里失蹤或如何糾正?
您無需添加jQuery包(與流星捆綁在一起),也無需添加任何腳本標簽。 刪除腳本標簽,然后在應用程序目錄中的終端輸入meteor add twbs:bootstrap
(或使用首選的引導程序包)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.