typescript tsc build failed with error about module "strict-event-emitter" has no exported member 'StrictEventEmitter'. #1699
Labels
bug
Something isn't working
needs:triage
Issues that have not been investigated yet.
scope:node
Related to MSW running in Node
Prerequisites
Environment check
msw
versionNode.js version
v16.15.0
Reproduction repository
https://codesandbox.io/p/sandbox/confident-hugle-fz9j6l
Reproduction steps
The current setup is super simple:
msw@1.2.3
installedtypescript@4.5.4
installedit has a dummy
index.ts
file which importedmsw
:To reproduce the issue:
open the sandbox repo, simply in the terminal run:
npm run build
you will see error while
tsc
trying to build thesrc/index.ts
.Current behavior
Got error:
Expected behavior
The build should finish without error
The text was updated successfully, but these errors were encountered: