hitode909 / body-battery-to-slack-status Goto Github PK
View Code? Open in Web Editor NEWLogin to Garmin Connect via Puppeteer, Set Body Battery to your Slack Status
Login to Garmin Connect via Puppeteer, Set Body Battery to your Slack Status
Hi,
I get timeout during the login:
flocsy@flocsypc:~/private/garmin/body-battery-to-slack-status$ CI=true GARMIN_MAIL_ADDRESS= GARMIN_PASSWORD= SLACK_LEGACY_TOKEN= npm start
[email protected] start /home/flocsy/private/garmin/body-battery-to-slack-status
ts-node src/index.ts
Login to Garmin Connect
TimeoutError: Navigation timeout of 30000 ms exceeded
at /home/flocsy/private/garmin/body-battery-to-slack-status/node_modules/puppeteer/lib/cjs/puppeteer/common/LifecycleWatcher.js:106:111
at FrameManager.waitForFrameNavigation (/home/flocsy/private/garmin/body-battery-to-slack-status/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:127:23)
at Frame.waitForNavigation (/home/flocsy/private/garmin/body-battery-to-slack-status/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:441:16)
at Page.waitForNavigation (/home/flocsy/private/garmin/body-battery-to-slack-status/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:794:16)
at Crawler.login (/home/flocsy/private/garmin/body-battery-to-slack-status/src/index.ts:147:5)
at main (/home/flocsy/private/garmin/body-battery-to-slack-status/src/index.ts:183:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: ts-node src/index.ts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/flocsy/.npm/_logs/2021-07-06T09_47_04_163Z-debug.log
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | @types/puppeteer |
|
npm | request |
|
npm | request-promise |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
request-promise
, @types/request-promise
).github/workflows/ci.yml
actions/checkout v2
actions/checkout v2
actions/setup-node v1
actions/cache v1
.github/workflows/run.yml
actions/checkout v2
actions/setup-node v1
actions/cache v1
package.json
puppeteer 5.5.0
puppeteer-extra ^3.1.18
puppeteer-extra-plugin-stealth ^2.7.8
request 2.88.2
request-promise 4.2.5
@types/node 10.17.51
@types/puppeteer 5.4.0
@types/request-promise 4.1.46
gts 3.1.0
ts-node 8.10.2
typescript 4.1.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.