You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the content of index.ts to require('encoding-japanese').
Then run bun run index.ts.
What is the expected behavior?
No error.
What do you see instead?
An error occurred.
1 | exports.UTF8_TO_JIS_TABLE = require('./utf8-to-jis-table');
2 | exports.UTF8_TO_JISX0212_TABLE = require('./utf8-to-jisx0212-table');
3 | exports.JIS_TO_UTF8_TABLE = require('./jis-to-utf8-table');
^
TypeError: null is not an object (evaluating 'l[U]')
at .../node_modules/encoding-japanese/src/encoding-table.js:3:8
at .../node_modules/encoding-japanese/src/config.js:2:4
at .../node_modules/encoding-japanese/src/index.js:1:4
at .../index.ts:1:0
Additional information
No response
The text was updated successfully, but these errors were encountered:
What version of Bun is running?
0.5.4
What platform is your computer?
Darwin 21.6.0 x86_64 i386
What steps can reproduce the bug?
In a new directory, run the commands below:
Change the content of
index.ts
torequire('encoding-japanese')
.Then run
bun run index.ts
.What is the expected behavior?
No error.
What do you see instead?
An error occurred.
Additional information
No response
The text was updated successfully, but these errors were encountered: