You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/06 00:11:45 UTC

[GitHub] [arrow] stopyransky commented on issue #11662: [JS] ReferenceError: TextDecoder is not defined - running tests with React Testing Library.

stopyransky commented on issue #11662:
URL: https://github.com/apache/arrow/issues/11662#issuecomment-986331044


   I can only confirm the issue. 
   For me is present when trying to import Table: 
   `import { Table } from 'apache-arrow';`
   
   Shouldn't the utf8.ts use Node's `util` module?
   
   ```
   const util = require('util');
   const decoder = new util.TextEncoder();
   ```
   
   instead of 
   ```
   const decoder = new TextEncoder();
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org