Coder Social home page Coder Social logo

Comments (4)

robindz avatar robindz commented on August 17, 2024 2

@carcabot

Ok, I solved this by doing the following:

  1. uninstalled chromium-browser that came installed with puppeteer (I suspected it might have grabbed a bad version)
  2. sudo apt-get install chromium-browser
  3. in index.js, add executablePath: "/usr/bin/chromium-browser" to this.options

from tiktok-signature.

carcabot avatar carcabot commented on August 17, 2024

Hi,

Please check this comment

from tiktok-signature.

robindz avatar robindz commented on August 17, 2024

@carcabot

Ok that solved that issue, but a new one has risen.
So, after installing node to v13.11.0 and installing puppeteer with npm i puppeteer puppeteer-extra puppeteer-extra-plugin-stealth I know get this error:

pi@chaengpi:~/scripts/tiktok-signature $ node server.js 
Error: Failed to launch the browser process!
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 1: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: �: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 1: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: �ELF����: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 2: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: p�#: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 3: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: p�#: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 4: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: ��@l�: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 5: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: pX: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 6: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 4: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: pX: not found
��q: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 7: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: Syntax error: "(" unexpected


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md

    at onClose (/home/pi/scripts/tiktok-signature/node_modules/puppeteer/lib/Launcher.js:750:14)
    at Interface.<anonymous> (/home/pi/scripts/tiktok-signature/node_modules/puppeteer/lib/Launcher.js:739:50)
    at Interface.emit (events.js:327:22)
    at Interface.close (readline.js:424:8)
    at Socket.onend (readline.js:202:10)
    at Socket.emit (events.js:327:22)
    at endReadableNT (_stream_readable.js:1201:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

from tiktok-signature.

carcabot avatar carcabot commented on August 17, 2024

I'm not sure if puppeteer is supported by linux arm versions.

Possible answer you can find here or here

from tiktok-signature.

Related Issues (20)

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.