-
Notifications
You must be signed in to change notification settings - Fork 99
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-core/internal/puppeteer-core.js #182
Comments
Hmm interesting problem. The only thing that stands out to me is the path in the error message. Specifically
"normally" that would just be |
The project-folder was just a placeholder for the actual path to the root of my rails project. It was long so I took it out but this is it: I found a similar issue in the puppeteer project and the only answer from that thread that worked for me was to revert to 18. Any version after 18.1 throws this error. |
That's really odd! I use 19.6.3 with no issues (not that it helps you..) That issue suggests that the issue is I'd be interested to see more of the Node call-stack surrounding the error. Can you fork the project, then modify this line https://github.com/Studiosity/grover/blob/main/lib/grover/processor.rb#L54 to:
(ie just remove the Then try call to grover again. That will dump the raw Node call-stack and should tell us if something is getting "in the way" (like in the puppeteer issue you referenced the issue being |
i'm using jasmine + grunt and getting similar error:
|
Doesn't appear to be any movement on this. Feel free to re-open if you need to/can reply to my questions 😄 |
Hello,
I am attempting to use Grover in a Rails project but am encountering this error.
Cannot find module 'puppeteer-core/internal/puppeteer-core.js'. You need to add it to 'project-folder/package.json' and run 'npm install'
I am using the following:
Here is my package.json
Here is grover from my Gemfile:
I use Grover in the following way:
I tried installing puppeteer-core and that didn't work.
The only way I was able to get it to run was by using 18.1 which is not supported anymore.
Does anyone have any input on this? Seems like any version of puppeteer (18.2.x and higher) throws this error.
The text was updated successfully, but these errors were encountered: