React Bulma Error 'compiled with problems' when loading DATATABLES.NET

React Bulma Error 'compiled with problems' when loading DATATABLES.NET

reactbulmareactbulma Posts: 1Questions: 1Answers: 0

Link to test case: https://github.com/8090ofree/reactbulmadatatablesNet/settings
Debugger code (debug.datatables.net): Not sure
Error messages shown:

Compiled with problems:X

ERROR

[eslint]
src\dataTables.bulma.min.js
Line 6:262: 'globalThis' is not defined no-undef
Line 6:324: Unexpected use of 'self' no-restricted-globals
Line 6:330: Unexpected use of 'self' no-restricted-globals
Line 9:286: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 11:42: 'define' is not defined no-undef
Line 11:53: 'define' is not defined no-undef
Line 11:283: 'jQuery' is not defined no-undef
Line 13:359: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 13:389: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 14:474: Expected an assignment or function call and instead saw an expression no-unused-expressions

src\jquery-3.5.1.js
Line 10832:38: 'define' is not defined no-undef
Line 10833:2: 'define' is not defined no-undef

src\jquery.dataTables.min.js
Line 16:262: 'globalThis' is not defined no-undef
Line 16:324: Unexpected use of 'self' no-restricted-globals
Line 16:330: Unexpected use of 'self' no-restricted-globals
Line 19:289: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 21:42: 'define' is not defined
.....and so on for a many rows.

Description of problem:
I set up react, bulma and datatables.net together, yet when loading App.js page with Table component, it complied with problems referring to variables in JS files

Answers

  • allanallan Posts: 56,888Questions: 1Answers: 9,042 Site admin

    Thanks for posting this. I'll take a look next week.

    Allan

Sign In or Register to comment.