Cannot find name 'Promise'
biks152207 opened this issue · comments
I am having issue while running reactXp for web.i get this error message while running "Cannot find name 'Promise'".Thanks in advance
+1
You should install required packages beforehand. Simply install following two packages first.
npm install --save-dev @types/es6-promise
npm install --save-dev @types/es6-collections
Then add corresponding type information to react-native.d.ts
file as below.
/// <reference path="../../node_modules/@types/es6-promise/index.d.ts" />
@izzetyildirim @cowai @biks152207 this should do the trick, let me know if there are any other issues.