jaberbu / onfirework

Makes Firebase easy to use
Other
0 stars 0 forks source link

Error in build with node typing #5

Closed ezequieltejada closed 3 years ago

ezequieltejada commented 3 years ago

Running build command I get this error message:

node_modules/@google-cloud/firestore/types/firestore.d.ts:1367:15 - error TS2503: Cannot find namespace 'NodeJS'.

and when I install @google-cloud/firestore I get this message:

error TS2688: Cannot find type definition file for 'node'.

ezequieltejada commented 3 years ago

A suggested solution is to add "node" on "types" property in compilerOptions. Link

jaberbu commented 3 years ago

Fixed in #6 pull request