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

can't find React on app test, maybe because of hoisting #15

Closed
sibelius opened this issue Nov 13, 2018 · 3 comments
Closed

can't find React on app test, maybe because of hoisting #15

sibelius opened this issue Nov 13, 2018 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@sibelius
Copy link
Member

Configuration error:
    
    Could not locate module React mapped as:
    /Users/sibelius/Dev/entria/app/entria-fullstack/packages/app/node_modules/react.
    
    Please check your configuration for these entries:
    {
      "moduleNameMapper": {
        "/^React$/": "/Users/sibelius/Dev/entria/app/entria-fullstack/packages/app/node_modules/react"
      },
      "resolver": null
    }
@sibelius sibelius added bug Something isn't working help wanted Extra attention is needed labels Nov 13, 2018
@vikr01
Copy link
Collaborator

vikr01 commented Nov 13, 2018

Why was this line commented out?

@sibelius
Copy link
Member Author

this happens when I do something like this

cd packages/app
jest

running jest from root does not work either

check this: jestjs/jest#7359

@sibelius
Copy link
Member Author

fixed here #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants