2014-06-25 245 views
-3

今天,我正在運行我的應用程序,並更改我的一些JS文件中的一些內容,當我的所有應用程序開始崩潰。
流星jQuery錯誤

Uncaught SyntaxError: Unexpected end of input jquery.js:5896 
Uncaught TypeError: Cannot read property '$' of undefined ui.js?9419ac08328918a04e7a49464a988d45f851e1b0:22 
Uncaught TypeError: Cannot read property 'UI' of undefined templating.js?b36d51fd34724d5d501d8557cd9f846874d95aef:22 
Uncaught TypeError: Cannot read property 'Template' of undefined accounts-ui-unstyled.js?4567e3da09d5e81789340f9ce7ba9dfd4ca855bc:26 
Uncaught TypeError: Cannot read property '$' of undefined iron-router.js?e9fac8016598ea034d4f30de5f0d356a9a24b6c5:26 
Uncaught TypeError: Cannot read property 'UI' of undefined spacebars.js?8988006be5c29dbe17997e9691a21dce4e537665:24 
Uncaught TypeError: Cannot read property 'RouteController' of undefined global-imports.js?79bee564663b0a7d926070d647eb2976c3c4ac58:4 
Uncaught ReferenceError: Template is not defined template.sales-course-landing.js?0a2386fe2d3b6fe1d89e61c5b5e4c116a486a633:2 
Uncaught ReferenceError: Template is not defined template.sales-course-qa001.js?23a3355cccc743773f1a8daf300a90359b14d462:2 

...和錯誤繼續下去...

奇怪的是...在行號「輸入的jquery.js的意外結束:5896」錯誤不斷變化(5896,4685等)。有時它也引用jquery-ui。 有時我的應用程序正常加載,只是通過(F5)刷新瀏覽器。

我聽說jQuery的問題可能不是最初的錯誤,即使它是控制檯順序中的第一個錯誤。

我已經重新安裝了所有軟件包和流星更新,似乎沒有任何工作。
在部署到Modulus.IO中沒有問題或錯誤。
在我的Nitrous控制檯中沒有顯示錯誤。

有人可以幫助我。

回答

-1

好吧,這裏是驚人的Nitrous.IO人員回答我:
(和我的意思是,因爲這是很難,因爲它得到縮小和解決)
格雷格McKeever
下午9時22分 - 因此,我們更新了我們的流星包,並在您的包裝箱上從頭開始安裝。仍然收到錯誤:/ 刪除舊配置後,安裝最新版本的meteor,然後重新啓動該框,看起來就像是需要的。

感謝所有關注這裏和Nitrous.IO的人!

+0

那麼你是否得到修復?我現在面臨同樣的問題。 –

+0

是的,Nitrous員工照顧我。 這是他們的關係錯誤。 –