Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'puppeteer' #193

Closed
chalmagean opened this issue May 4, 2023 · 3 comments
Closed

Cannot find module 'puppeteer' #193

chalmagean opened this issue May 4, 2023 · 3 comments

Comments

@chalmagean
Copy link

Hi,

Trying to deploy a Rails app (using Grover) to Heroku, and I get the following error:

Cannot find module 'puppeteer'. The module was found in '/app/package.json' however, please run 'npm install' from '/app'

I've followed the instructions here: https://github.com/Studiosity/grover#running-on-heroku

Using heroku-20.

@abrom
Copy link
Contributor

abrom commented May 12, 2023

What steps have you taken to debug this yourself?

My first suggestion would be to jump on the heroku console and check the contents of /app/node_modules.

You should also be able to check the heroku deploy logs to see that it is installing the puppeteer node modules.

If that folder isn't there and/or you don't see the puppeteer package being installed when you deploy then you've likely missed a step.

@chalmagean
Copy link
Author

Thanks @abrom. I'm closing this for now because I can't reproduce it anymore.

@TomasBarry
Copy link

@chalmagean, could you give a bit more information on your setup? I'm experiencing the exact same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants