-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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 './types/standard' from 'index.js' #2754
Comments
I am experiencing the exact same error with version |
Also had the same error and downgrading worked. Is there no other fix though? |
I see you've managed to upgrade to 1.5.0 here: budarin/react-http2-bootstrap-project@9892390 The error itself doesn't relate to puppeteer: instead it has something to do with jest module resolution. |
Cause: in Most "copy-paste" Jest configurations doesn't support loading JSONs as-is, so that's probably the cause. To solve the problem:
- You probably already have other extensions there, so make sure not to remove them but to add "json" in addition. |
* added json to `moduleFileExtensions` entry in the `jest` due to puppeteer/puppeteer#2754 (comment) * fixed int tests of extract * updated .gitignore to not ignore jest.config.js * added tslint config * added .gitignore * updated @types/jest and @types/puppeteer * installed winston as peer dependency of @hakier/logger
This error is pretty clear. Jests outputs |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Please include code that reproduces the issue.
What is the expected result?
to run puppeteer
What happens instead?
error:
if I return to 1.1.1 version - puppeteer runs and pass the test
The text was updated successfully, but these errors were encountered: