1

我试图从大气中使用翡翠车把( https://github.com/SimonDegraeve/meteor-jade-handlebars )包。我使用陨石成功安装了它。问题是当我尝试运行我的流星服务器时,我在启动时收到以下错误消息/输出:

正在初始化 mongo 数据库...这可能需要一点时间。无依赖

捆绑中的信息。文件系统监控已禁用。

=> 错误阻止启动:捆绑应用程序时出现异常:

ReferenceError:要求未在 /home/ewillis1/collaboratum/packages/jade-handlebars/package.js:5:21 中定义

它引用的特定行是 package.js 中的

var fs = 需要('fs');

如果您能帮助我让这个包与 Meteor 0.6.4 一起使用,任何帮助或指导将不胜感激!

4

1 回答 1

0

https://stackoverflow.com/a/17007054/1408362

我找到了我自己问题的部分答案。看到j​​ade-handlebars 包最后一次更新是在7 个月前(此时),它在其package.js 文件中使用基本的“require()”方法,当时更新版本的meteor(此时为0.6.4)希望您使用 Npm.require() 请参阅我正在链接的相关 stackoverflow 帖子。

现在我遇到的问题是这个

No dependency info in bundle. Filesystem monitoring disabled.
=> Errors prevented startup:
Exception while bundling application:
Error: ELOOP, too many symbolic links encountered '/home/ewillis1/myproject/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebar
s/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/
packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/pa
ckages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/pack
ages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packag
es/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages/jade-handlebars/packages
/jade-handlebars/jade/lib/index.js'

第二个问题是由于我在我的jade-handlebars文件夹中不小心使用mrt安装jade-handlebars时犯了一个错误

于 2013-08-09T20:15:32.910 回答