TS2304 error: can't find Promise

63 Views Asked by At

I am running angular2 using VSCode and suddenly my program is not running and command prompt showing an error error TS2304: Cannot find name 'Promise'. I have already installed typings restarted the pc still not working

1

There are 1 best solutions below

0
On

Delete you node modules folder and then run the following commands : npm cache clean npm install

This should solve your problem.