To resolve eonasdan-bootstrap-datetimepicker
with exception Caught Type: exception datetimepicker()........ is not a function
.
Bootstrap-datetimepicker is trying to use it's own jquery
force it to use same version of jquery
used by other node_modules
, inside your webpack
configurations file add this.
.webpackConfig({
resolve: {
alias: {
// Force all modules to use the same jquery version.
'jquery': path.join(__dirname, 'node_modules/jquery/src/jquery')
}
}
});