安装meteor accounts-entry包时出错

时间:2014-08-07 15:27:45

标签: javascript meteor

一直试图安装meteor accounts-entry软件包,我发现了以下错误。

任何人都知道如何对此进行排序?我试过谷歌搜索,但没有找到任何东西。我尝试安装节点underscore.string包,但这没有任何区别。

  

$ mrt add accounts-entry

     

完成安装智能套装

     

当陨石做它的事情时退一步

     

完成安装智能套装

     

好的,一切都准备好了。流星来了!

     

=>扫描包时出错:

     

构建包underscore-string-latest时:      错误:找不到文件:lib / underscore.string / lib / underscore.string.js

     

/usr/local/lib/node_modules/meteorite/lib/command.js:41      throw"命令退出" +代码+" /" +信号;                                                        ^      命令以1 / null

退出

当应用程序运行时,我在浏览器上获得以下内容:

Your app is crashing. Here's the latest log.

=> Errors prevented startup:

While building the application:
node_modules/underscore.string/test/test_underscore/index.html:1: Can't set
DOCTYPE here.  (Meteor sets <!DOCTYPE html> for you)
node_modules/underscore.string/test/test.html:1: Can't set DOCTYPE here.
(Meteor sets    <!DOCTYPE html> for you)
node_modules/underscore.string/test/test_standalone.html:1: Can't set DOCTYPE here.
(Meteor sets <!DOCTYPE html> for you)

我还没有详细研究过doctype错误,稍后会详细介绍一下。

提前再次感谢:)

1 个答案:

答案 0 :(得分:2)

您已将npm模块添加到流星项目中。

删除npm文件夹(在当前目录中)

rm -rf node_modules

要在项目中使用npm模块,请参阅:http://meteorhacks.com/complete-npm-integration-for-meteor.html

相关问题