0
我剛安裝了流星,它工作正常。所以我的第一個測試就是複製一個我使用JQuery,一些JavaScript庫和Web音頻API的小型網絡應用程序,並將其複製到我創建並運行本地主機的會話目錄中:3000如何將常規創建的網站/應用從MAMP轉移到流星
我收到了一堆錯誤,並且網站沒有顯示。
我想知道如果只是移動通過非流星創建的項目有一個簡單的解決方案(如命令我需要運行),或者如果出現有字面上可以用一個接一個處理錯誤。
我知道這違背了使用流星的「點」,但也許我想的事情我已經在過去所做集成到一個新的流星項目等
繼承人的錯誤日誌:
Errors prevented startup:
Exception while bundling application:
Error: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) - line 3, file /Users/William/willsjunk/crap/hide&save/Full Working JQuery TUNA Effects!.html
<!DOCTYPE html>
at html_scanner.scan.parseError (/usr/local/meteor/packages/templating/html_scanner.js:23:14)
at Object.html_scanner.scan (/usr/local/meteor/packages/templating/html_scanner.js:58:17)
at /usr/local/meteor/packages/templating/package.js:46:32
at _.extend.add_file (/usr/local/meteor/app/lib/bundler.js:195:5)
at self.api.add_files (/usr/local/meteor/app/lib/bundler.js:96:16)
at Array.forEach (native)
at Function._.each._.forEach (/usr/local/meteor/app/lib/third/underscore.js:76:11)
at self.api.add_files (/usr/local/meteor/app/lib/bundler.js:95:11)
at Array.forEach (native)
at Function._.each._.forEach (/usr/local/meteor/app/lib/third/underscore.js:76:11)
Your application is crashing. Waiting for file change.
從您的html文件中刪除和,並且請注意,您將需要一個用於多頁文件的路由器,例如。 https://atmosphere.meteor.com/package/router – TiansHUo