maierfelix/nvk

TextEncoder is not defined

Closed this issue · 2 comments

pjoe commented

When running on windows with node 10.15, I get error about missing TextEncoder. I solved it temporarily by adding this to interfaces.js:

const {TextEncoder, TextDecoder} = require('util');

This should be fixed with version 0.5.6, could you approve the changes?
Note that the vulkan version changed from 1.1.101 to 1.1.106, so make sure to use the --vkversion=1.1.106 flag from now on

pjoe commented

@maierfelix 0.5.6 seems to work a lot better - thanks. No issues with TextEncoder and correctly lists both my GPUs (I'm on Optimus laptop, so both Intel and nVidia).

Closing this issue