npm unable to start - getting TS2304 error

One fine day, i tried to start my project with npm start and bump into this error :-

node_modules/@angular/common/src/directives/ng_class.d.ts(46,34): error TS2304: Cannot find name 'Set'.

Yes it is a typing error and just issue the following command to fix it.

npm install --save-dev @types/core-js

Try npm start again.


Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

spark - pyspark reading from excel files