After updating to RC.0 when trying to run ionic serve I have got hundreds of errors like this:
node_modules/ionic-native/dist/plugins/dbmeter.d.ts(50,22): error TS2304: Cannot find name ‘Promise’.
I did upgrade to RC.0 modifying your existing project.
Did you updated typescript to version 2?
@grabtasker solved it like this
No, I didn’t. Thanks for your reply:) My project doesn’t work anyway, but some problems gone.
1 Like
I’ve got the same problem, cannot find Promise
, since updating to RC0.
I’ve tried npm install -g typescript
but that has no effect.
What did you do specifically to solve this?
Please post the answer here as to help others:
Thanks
I had the same problem, but after updating my Visual Studio Code settings to work with TypeScript 2.0 all was good.
1 Like
Yes. Updating VS code worked for me!