Closed
Description
We're keeping our dependencies up to date on an Angular 12 / nestjs / nrwl monorepo application. When I upgraded to the latest versions of socket.io, I get a build error from within node_modules.
Error: node_modules/engine.io/build/transport.d.ts:4:10 - error TS2305: Module '"engine.io-parser"' has no exported member 'Packet'.
4 import { Packet } from "engine.io-parser";
~~~~~~
It turns out it's because the vLatest of engine.io actually requires at least engine.io-parser
v5.0.3, but the reference only pulls ~5.0.0
. If I install engine.io-parser directly in my app to 5.0.3, the build error disappears.
Line 42 in 90fb0a9
Metadata
Metadata
Assignees
Labels
No labels