firestore-cloud-functions-typescript | Firebase cloud functions in typescript | Authentication library
kandi X-RAY | firestore-cloud-functions-typescript Summary
kandi X-RAY | firestore-cloud-functions-typescript Summary
Firebase cloud functions in typescript with Firestore. Using a social network as example
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of firestore-cloud-functions-typescript
firestore-cloud-functions-typescript Key Features
firestore-cloud-functions-typescript Examples and Code Snippets
Community Discussions
Trending Discussions on firestore-cloud-functions-typescript
QUESTION
I have two projects with similar Cloud Functions setup, both directly using Typescript setup (no Webpack) similar to this example or this one
One of them uses Firestore, other one doesn't. The one that does not use Firestore compiles and deploys with no error.
However the one with Firestore functions gives me this error on tsc
compile:
ANSWER
Answered 2017-Nov-30 at 09:12At first I thought problem was exclusion of node_modules
folder in tsconfig
file and removed "exclude": [ "node_modules" ]
part. It did not help.
Then since all errors seems to be related to DOM element names or "Node", it should be about a missing types definition of some general package, hence did another search on that matter and run into this answer of a similar question: Typescript build getting errors from node_modules folder
Changing tsconfig
like this (adding reference to lib.es6.d.ts
) make my problem go away:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install firestore-cloud-functions-typescript
Clone this repo.
Set firebase-tools to use your project with firebase use <YOUR_PROJECT>
Move inside your functions\ folder
Update your dependencies with npm install
Deploy your functions with npm run deploy
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page