gpt4 book ai didi

meteor - 将路由器包添加到 Meteorite 出现错误

转载 作者:行者123 更新时间:2023-12-02 10:19:41 28 4
gpt4 key购买 nike

我一直在阅读《发现 meteor 》这本书。到目前为止一切顺利,但尝试添加路由器包却出现以下错误。我尝试删除这些软件包,但没有成功。我找不到有类似问题的人..

$ mrt add router

✓ router
tag: https://github.com/tmeasday/meteor-router.git#v0.6.1
✓ page-js-ie-support
tag: https://github.com/tmeasday/meteor-page-js-ie-support.git#v1.3.5
✓ HTML5-History-API
tag: https://github.com/tmeasday/meteor-HTML5-History-API.git#v4.1.2

Done installing smart packages

/usr/local/lib/node_modules/meteorite/lib/meteor.js:145
throw error;
^
Error: Command failed: => Errors while scanning packages:

While reading package from `/Users/flowen/Documents/_htdocs/microscope/packages/HTML5-History-API`:
error: Package names can only contain lowercase ASCII alphanumerics, dash, dot, or colon, not "H".

While reading package from `/Users/flowen/Documents/_htdocs/microscope/packages/router`:
package.js:21:9: Package names can only contain lowercase ASCII alphanumerics, dash, dot, or colon, not "H".

at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)

最佳答案

实际上,对于 Meteor 0.9.*,我认为 Meteor-router 已不再使用。 Meteor正在寻求实现iron-router,可以通过meteor add iron:router来获得。

此外,随着新版本的meteor mrt不再需要。您可以使用meteor add 命令从atmospere 存储库中获取所有软件包。

关于meteor - 将路由器包添加到 Meteorite 出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25822259/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com