8000 export not found when executing typescript file · Issue #7384 · oven-sh/bun · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
export not found when executing typescript file #7384
Open
@MRDGH2821

Description

@MRDGH2821

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?

  1. git clone https://github.com/MRDGH2821/Discord-Ban-Utils-Bot inside WSL.
  2. Switch to rewrite-sapphire branch
  3. Open the repo inside dev container
  4. 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:

  1. Discord bot token
  2. Firebase Cloud Firestore service account key file

And, I'm using Dev container inside WSL

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0