Hi,
We encountered the following error when we navigate back to the MVC page with bryntum taskboard implementation. When we first access the page, the error did not show up.
Uncaught Error: Bryntum bundle included twice, check cache-busters and file types (.js).
Simultaneous imports from ".module.js" and ".umd.js" bundles are not allowed.
at j.setVersion (<anonymous>:12:527616)
at ./lib/Core/Base.js (<anonymous>:12:37825)
at c (<anonymous>:11:153)
at ./webpack/webpack.core.entry.thin.js (<anonymous>:20:1111851)
at c (<anonymous>:11:153)
at ./webpack/webpack.entry.js (<anonymous>:20:1187115)
at c (<anonymous>:11:153)
at ./webpack/webpack.entry.umd.js (<anonymous>:20:1235169)
at c (<anonymous>:11:153)
at ../node_modules/process/browser.js (<anonymous>:11:1705)
Basically below are the code of the .cshtml file.
<script src="~/Scripts/Bryntum/taskboard.umd.js"></script>
<div id="kanbanContainerBryntum"></div>
<script>
var taskboard = new bryntum.taskboard.TaskBoard({
...
})
</script>
Is there a way to prevent the error from displaying?
Thanks