Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Meteor bootstrap3 datetimepicker:TypeError:undefined不是函数_Meteor_Twitter Bootstrap 3 - Fatal编程技术网

Meteor bootstrap3 datetimepicker:TypeError:undefined不是函数

Meteor bootstrap3 datetimepicker:TypeError:undefined不是函数,meteor,twitter-bootstrap-3,Meteor,Twitter Bootstrap 3,我想使用这个软件包: 我已经安装了上面的软件包以及一个名为“矩”的软件包,但当我尝试将其添加到我的输入字段时,如下所示: time.html: <template name="time"> <input type='text' class="datetimepicker" /> </template> 我得到以下错误: Deps afterFlush函数异常函数:类型错误:未定义不是函数 有人知道这意味着什么吗?包被破坏了,因为它没有声明时刻依赖关系

我想使用这个软件包:

我已经安装了上面的软件包以及一个名为“矩”的软件包,但当我尝试将其添加到我的输入字段时,如下所示:

time.html:

<template name="time">
    <input type='text' class="datetimepicker" />
</template>
我得到以下错误:

Deps afterFlush函数异常函数:类型错误:未定义不是函数


有人知道这意味着什么吗?

包被破坏了,因为它没有声明
时刻
依赖关系。一个可能的解决方法是手动安装
moment
包,因此

mrt add moment
然后

mrt add bootstrap3-datetimepicker
编辑:我刚刚注意到这个解决方案实际上是由包作者自己描述的

mrt add bootstrap3-datetimepicker