Giter Site home page Giter Site logo

autoclock's People

Contributors

dependabot[bot] avatar magicwenli avatar zhang570221322 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

autoclock's Issues

TypeError: Cannot read property 'waitForSelector' of undefined

你好,在ubuntu 20.04 lts 上使用报错
TypeError: Cannot read property 'waitForSelector' of undefined
at my_main (/home/pt/autoClock/core/main.js:53:28)
at async /home/pt/autoClock/core/main.js:172:18

(而且readme中node temp_autoDiDi.js 的描述应该是 node autoDiDi_Once.js ,应该是忘记更新了)

【求助】Centos7出现运行错误

运行node autoDiDi.js后,错误代码

node autoDiDi.js

# node autoDiDi.js
internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module '/root/autoDiDi.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

无法执行autoDiDi

我的操作是按照Readme来的,然后到最后一步,会一直卡在
node autoDiDi.js
前面的temp_autoDiDi是可以执行的。
我把整个文件夹删除了,重新clone了一次,还是这样。

安装失败

您好!我平时主要写cpp和python, 对js不是很熟悉, 按照您的README指导, 在npm install那一步出现了以下错误, 请问是什么意思, 应该如何解决?

[email protected] install /root/autoClock/autoClock/node_modules/puppeteer
node install.js

ERROR: Failed to set up Chromium r756035! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
Error: EACCES: permission denied, mkdir '/root/autoClock/autoClock/node_modules/puppeteer/.local-chromium'
-- ASYNC --
at BrowserFetcher. (/root/autoClock/autoClock/node_modules/puppeteer/lib/helper.js:94:19)
at fetchBinary (/root/autoClock/autoClock/node_modules/puppeteer/install.js:148:8)
at download (/root/autoClock/autoClock/node_modules/puppeteer/install.js:54:9) {
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/root/autoClock/autoClock/node_modules/puppeteer/.local-chromium'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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! /root/.npm/_logs/2020-06-19T08_58_24_891Z-debug.log

建议随机时间

建议在自动打卡的时间能够随机一点,比如随机延迟至多一小时,或者在用户设置的时间段内随机运行。
目前这个时间特征比较明显。

更新啦

今天失败,至少每天只需一次了,其他变化不大。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.