Issue
Suddenly getting this error:
TypeScript: ./..\..\node_modules\@types\ws\index.d.ts:328:18
Type 'Server' is not generic.
Angular CLI: 13.3.11
Node: 16.13.2
Package Manager: npm 8.1.2
OS: win32 x64
Angular: 13.4.0
... common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker
Package Version
@angular-devkit/architect 0.1303.11
@angular-devkit/build-angular 13.3.11
@angular-devkit/core 13.3.11
@angular-devkit/schematics 13.3.11
@angular/cli 13.3.11
@angular/pwa 13.3.11
@schematics/angular 13.3.11
rxjs 6.6.7
typescript 5.1.3
Already tried to update @types/ws to version ^8.13.0 with no success
Solution
I had the same issue
npm i @types/[email protected]
worked for me.
Answered By - Vincent
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.