-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Sorry about the vague description. I am new to Typescript but that's what they use in Tableau Connector SDK.
I am trying to create a delta sharing connector for Tableau and I am using this Javascript package to accomplish that.
Problem is that when creating the connector everything work as planned until I either import or require this package.
I have no clue why and I can't deduce where the source of the problem lies.
Might there be any reason why this package may be causing issues when using in Typescript enviroments?
Also, a Tableau connector is essentially a web page with Typescript/Javascript to do its thing, and the console shows this deeply nested stack trace.
The error is at line 41 of memstore.js:
util.inherits(MemoryCookieStore, Store);
and the stack trace is:
Uncaught TypeError: util.inherits is not a function
at 2Lnsa.6c1baa97b08bd7df (memstore.js:41:6)
at newRequire (index.e63b3b5b.js:71:24)
at localRequire (index.e63b3b5b.js:84:35)
at 2yy2d.21d22bb892bb7293 (cookie.js:37:25)
at newRequire (index.e63b3b5b.js:71:24)
at localRequire (index.e63b3b5b.js:84:35)
at iMyDQ.f99ee3a45257f86a (cookies.js:3:13)
at newRequire (index.e63b3b5b.js:71:24)
at localRequire (index.e63b3b5b.js:84:35)
at iDDXb.5957cd4242ebf2f2 (index.js:18:15)
if anybody knows what might be going on, I would appreciate some hints to fix this.
If not, I also settle for some approaches on how to go about this. ;-)
Google searches haven't resulted in anything that I could apply, let alone use.
Thanks!