【问题标题】:Error installing meteor accounts-entry package安装流星账户输入包时出错
【发布时间】:2014-09-30 22:10:07
【问题描述】:

一直在尝试安装流星账户入口包,我遇到了以下错误。

任何人都知道我可以如何排序?我试过谷歌搜索,但没有找到任何东西。我尝试安装 node underscore.string 包,但没有任何区别。

$ mrt 添加帐户条目

智能包安装完毕

在陨石做它的时候退后一步

智能包安装完毕

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

=> 扫描包时出错:

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

/usr/local/lib/node_modules/meteorite/lib/command.js:41 throw "命令以 " + code + "/" + 信号退出; ^ 命令以 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)

我还没有深入研究过文档类型错误,稍后再看一下。

再次提前感谢:)

【问题讨论】:

    标签: javascript meteor


    【解决方案1】:

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

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

    rm -rf node_modules
    

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

    【讨论】:

    • 是的,我这样做只是为了看看这是否是问题所在,事实并非如此。安装包时可能是连接问题,现在可以正常工作了。谢谢你,也谢谢你的链接:)
    猜你喜欢
    • 1970-01-01
    • 2016-12-04
    • 2015-02-13
    • 1970-01-01
    • 1970-01-01
    • 2016-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多