GithubHelp home page GithubHelp logo

setting up pm2 about html-pdf-chrome HOT 4 CLOSED

artknight avatar artknight commented on June 14, 2024 1
setting up pm2

from html-pdf-chrome.

Comments (4)

artknight avatar artknight commented on June 14, 2024 1

@adhil-bit all you have to do is add it to the general params you are already setting. Look at the bottom of the example below

Ex.

pm2 start google-chrome \
  --interpreter none \
  -- \
  --headless \
  --disable-gpu \
  --disable-translate \
  --disable-extensions \
  --disable-background-networking \
  --safebrowsing-disable-auto-update \
  --disable-sync \
  --metrics-recording-only \
  --disable-default-apps \
  --no-first-run \
  --mute-audio \
  --hide-scrollbars \
  --remote-debugging-port=<port goes here>
  --no-sandbox

from html-pdf-chrome.

adhil-bit avatar adhil-bit commented on June 14, 2024

When setting up pm2 on ubuntu 20.04 I had to add --no-sandbox to the params to make it work.

Hope this helps

thanks how can i add args can u pls give an example...

from html-pdf-chrome.

adhil-bit avatar adhil-bit commented on June 14, 2024

Thanks alot bro.. Worked for me...

from html-pdf-chrome.

westy92 avatar westy92 commented on June 14, 2024

Thank you @artknight!

from html-pdf-chrome.

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.