我刚刚安装了 Meteor,它工作正常。所以我立即的第一个测试是复制一个我使用 JQuery、一些 javascript 库和网络音频 api 做的小网络应用程序,然后将它复制到我创建的会话目录并运行 localhost:3000
我遇到了一堆错误,网站没有显示。
我想知道简单地移动一个非 Meteor 创建的项目是否有一个简单的解决方案(例如我需要运行的命令),或者是否必须逐个处理出现的错误。
我知道这违背了使用流星的“点”,但也许我想将我过去所做的事情整合到一个新的流星项目等中。
继承人的错误日志:
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.