Cannot execute stats page
Closed this issue · 4 comments
ShahBinoy commented
Hi I am trying to use your UI but. Date picker not working, getting error
'Uncaught TypeError: $(...).datetimepicker is not a function'
line number 28099 in main.js
$(function () {
$('#begin_datetime').datetimepicker({
format: 'YYYY-MM-DD HH:mm:ss',
defaultDate: new Date(Date.now() - (60 * 60 * 12 * 1000)),
sideBySide: true
});
kitelife commented
@ShahBinoy Have you executed npm install
?
ShahBinoy commented
kitelife commented
@ShahBinoy I'm sorry. I have found the reason of the bug - cn-bootstrap-datetimepicker
package requires jquery ">=1.8.3 <2.2.0". I have updated the package.json
, see: commit #f679efb , you can pull it and try it again. Thanks!
ShahBinoy commented
Yes that fixed it.
Thank you