You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you be able to help with this issue? Pretty much, Youtube is causing an issue with the Typescript compiling. When commenting out all of the YT references it compiles and deploys fine.
Thanks!
followers-scraper-serverless % npm run deploy
> [email protected] deploy
> npm run build && sls deploy --verbose
> [email protected] build
> tsc
src/lib/scraper/followers-scraper.ts:9:36 - error TS2339: Property 'attribs' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.
9 return parseInt(subsBtn[0].attribs['title'])
~~~~~~~
Found 1 error.
npm ERR! code 2
npm ERR! path /Users/x/Documents/scrapey/followers-scraper-serverless
npm ERR! command failed
npm ERR! command sh -c tsc
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/x/.npm/_logs/2021-01-21T20_36_47_523Z-debug.log
npm ERR! code 2
npm ERR! path /Users/x/Documents/scrapey/followers-scraper-serverless
npm ERR! command failed
npm ERR! command sh -c npm run build && sls deploy --verbose
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/x/.npm/_logs/2021-01-21T20_36_47_565Z-debug.log
The text was updated successfully, but these errors were encountered:
Hey Jean!
Would you be able to help with this issue? Pretty much, Youtube is causing an issue with the Typescript compiling. When commenting out all of the YT references it compiles and deploys fine.
Thanks!
The text was updated successfully, but these errors were encountered: