Code Monkey home page Code Monkey logo

Comments (4)

Brightcells avatar Brightcells commented on August 23, 2024

这是截图失败了吧,有具体的接口报错信息吗?

from snap.

valetzx avatar valetzx commented on August 23, 2024

这是因为puppeteer没启动吗(看起来是的)
image
image
image

from snap.

Brightcells avatar Brightcells commented on August 23, 2024
  • Puppeteer 下载 Chromium 的时候并没有解决依赖问题
  • CentOS查看依赖,其他发行版不确定
    $ ldd ~/node_modules/puppeteer/.local-chromium/linux-000000/chrome-linux/chrome | grep not
    libatk-bridge-2.0.so.0 => not found
    libatspi.so.0 => not found
    libgtk-3.so.0 => not found
    libgdk-3.so.0 => not found
  • 将缺少的依赖,依次进行安装,然后再尝试下
  • 后续把安装 Chrome 依赖也完善到 README 里

from snap.

Brightcells avatar Brightcells commented on August 23, 2024

@valetzx 看你报错的截图,是缺少 libgobject-2.0.so.0
可能还缺少其他的,都安装之后再看下吧

from snap.

Related Issues (1)

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.