DataTables / DataTables/Dist-DataTables-Buttons-Bulma

[DataTablesBulma 2.2.1 and ButtonsBulma] Uncaught TypeError: Cannot read properties of undefined (reading 'defaults')`

Open
#1 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hello,
after the latest update of ‘DataTables Bulma’, the responsive extension not working.

"datatables.net-bm": "^2.2.1",
"datatables.net-buttons-bm": "^3.2.0",
import DataTable from 'datatables.net-bm';
import 'datatables.net-buttons-bm';

I have this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'defaults')

// node_modules/datatables.net-buttons-bm/js/buttons.bulma.mjs
/*! Bulma integration for DataTables' Buttons
 * © SpryMedia Ltd - datatables.net/license
 */
$7.extend(true, dataTables_bulma_default2.Buttons.defaults, {

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the package imports in the issue and inspect node_modules/datatables.net-buttons-bm/js/buttons.bulma.mjs, especially the failing Buttons.defaults access. Reproduce the error with the listed DataTables Bulma and Buttons Bulma versions; done means the responsive extension loads without the TypeError and the affected integration is covered by an appropriate verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.