Firebase Functions / Cheerio
See original GitHub issueHi
I’m trying to deploy a function to firebase but as soon as I try, I receive this error with the package:
node_modules/scrape-it/lib/index.d.ts(9,35): error TS2304: Cannot find name 'CheerioSelector'. node_modules/scrape-it/lib/index.d.ts(22,41): error TS2304: Cannot find name 'CheerioStatic'.
Any idea how I can fix this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Firebase cloud function to scrap html and send the content ...
Firebase cloud function to scrap html and send the content with push notifications - firebase-scraping.js. ... const cheerio = require('cheerio');.
Read more >Handling dependencies | Cloud Functions for Firebase - Google
A function is allowed to use external Node.js modules as well as local data. Dependencies in Node.js are managed with npm and expressed...
Read more >Using Firebase Cloud Functions to Generate URL Preview
In this article we are going to learn how to use Firebase cloud functions to parse the URL og tags and display the...
Read more >How to make multiple http requests from a Google Cloud ...
I'm building a web-scraper with Cheerio, Node.js, and Google Cloud Functions. The problem is I need to make multiple requests, ...
Read more >firebase - cloud functions - node.js - CodeBiddya
This article outlines how to deploy the functions for scraping with Puppeteer and Cheerio using Firebase Cloud Functions - a functionality that ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@AndrewNeo So I’ve just installed the
@types/cheerio
like you suggested a dependency, and it seems to build now. I’m going to deploy now and then will report back if it was successful.@AndrewNeo How would you add the
@types/cheerio
directly as I’ve tried npm installing it directly if that’s what you meant with your previous comment.