一直在尝试安装流星帐户入口包,我得到了以下错误。
有人知道我该怎么排序吗?我试着用谷歌搜索,但没有找到任何东西。我尝试安装节点下划线。字符串包,但没有任何区别。
$ MRT add accounts-entry
智能包安装完成
在陨星做它的事情时退后
智能包安装完成
好的,一切都准备好了。流星来了!
=>扫描包时出错:
在构建
underscore-string-latest
包时:错误:File not found: lib/underscore.string/lib/underscore.string.js/usr/地方/lib/node_modules/陨石/lib/command.js: 41throw "Command exit with " + code + "/" + signal;^命令以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错误,稍后会稍微研究一下。
再次感谢:)
你已经在你的流星项目中添加了npm模块。
删除npm文件夹(在当前目录下)
rm -rf node_modules
要在项目中使用npm模块,请参见:http://meteorhacks.com/complete-npm-integration-for-meteor.html