Pupeteer Pdf Heroku Cloud

I have a an elixir application that use Puppeteer-pdf. It works fine on local machine and generates the pdf from html. On Heroku it throws the error {:error, :invalid_exec_path}. I have added the puppeteer build pack on heroku, What is it that i am doing wrong. Thanks for taking time to answer this.