【发布时间】:2014-04-21 19:41:36
【问题描述】:
我想用this package
我在 Meteor 项目中运行了 mrt add bootstrap3-datetimepicker。
接下来我按照说明运行mrt install moment 和mrt update moment。
当我现在执行mrt run 时,我收到以下错误:
=> Errors prevented startup:
While building the application:
error: no such package: 'moment'
为什么我会得到这个?
如果我输入 mrt add moment 我会得到:
/usr/local/lib/node_modules/meteorite/lib/meteor.js:154
throw "Error running a command: " + error;
^
Error running a command: Error: Command failed: => Errors while scanning packages:
While building package `bootstrap3-datetimepicker`:
error: no such package: 'moment'
【问题讨论】:
-
您是否尝试过使用“mrt add moment”而不是“mrt install moment”添加软件包?