bergehurra
`Uncaught TypeError: encode is not a function` when using npm module `@kubernetes-client/node`
I'm trying to use a particular call in the npm module
@kubernetes/client-node
from deno, but I'm getting a TypeError, and I'm not sure how to debug it:
Code at https://gist.github.com/berge/379b25d2e780ccddf2734773ef6b6bdc.
I'm unsure if this is a bug in Deno's nodejs compatibility layer, or something else. (The program works fine in nodejs with typescript.) What's a good place to start investigating?
Edit: Deno version:
14 replies