Tabulator cdn issue

@stucork

I am randomly getting this error in my Anvil app that has tabulator as a dependency:

ExternalError: TypeError: error loading dynamically imported module: https://cdn.jsdelivr.net/npm/tabulator-tables@6.2.5/dist/js/tabulator_esm.min.js
at app/tabulator/Tabulator/_js_tabulator.py, line 26
called from app/tabulator/Tabulator/_datetime_overrides.py, line 9
called from app/tabulator/Tabulator/init.py, line 8
called from Form1, line 18
ExternalError: TypeError: error loading dynamically imported module: https://cdn.jsdelivr.net/npm/tabulator-tables@6.2.5/dist/js/tabulator_esm.min.js
at app/tabulator/Tabulator/_js_tabulator.py, line 26
called from app/tabulator/Tabulator/_datetime_overrides.py, line 9
called from app/tabulator/Tabulator/init.py, line 8

Sounds like the CDN is unreliable sometimes?

Edit: Also sometimes:

ExternalError: TypeError: Importing a module script failed.
at app/tabulator/Tabulator/_js_tabulator.py, line 26
called from app/tabulator/Tabulator/_datetime_overrides.py, line 9
called from app/tabulator/Tabulator/init.py, line 8

I think if you hit the edit icon in that image you can choose to not use cdn

2 Likes

Thank you for the quick reply, will try that!