Open
Description
What version of Bun is running?
1.0.14+d8be3e51b
What platform is your computer?
Linux 5.15.133.1-microsoft-standard-WSL2 x86_64 unknown
What steps can reproduce the bug?
git clone https://github.com/MRDGH2821/Discord-Ban-Utils-Bot
inside WSL.- Switch to
rewrite-sapphire
branch - Open the repo inside dev container
bun src/index.ts
What is the expected behavior?
Code should run successfully
What do you see instead?
$ bun src/index.ts
56 | }
57 | }
58 | return new FixedQueue;
59 | }();
60 |
61 | function processTicksAndRejections() {
^
SyntaxError: export 'ValueOf' not found in './EventTypes'
at processTicksAndRejections (:61:76)
EventTypes.ts
is located in src/lib
And ValueOf
is defined in src/lib/EventTypes.ts
, re-exported in src/lib/utils.ts
Additional information
My bot requires the following to start:
- Discord bot token
- Firebase Cloud Firestore service account key file
And, I'm using Dev container inside WSL