-
Notifications
You must be signed in to change notification settings - Fork 428
"npm test" does not work with [email protected] + react-app-rewired #242
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
Comments
Same issue here, we also had to remove the |
Yeah. I am not sure if worth to make efforts to support cra2 until webpack4 support merged |
@Guria so far it seems the only required changes are the paths fix, and upgrading the |
👍 |
The paths issue is fixed in the @next branch, however the error seems to be thrown from using the Changing I was hoping to be able to provide a fix for this but am a little stumped. |
I can confirm the behavior.
Any suggestions on how to get rid of this blocking issue? |
Just noting this: |
I tried installing react-app-rewired |
Moving forward maybe: |
My error got fixed for doing the following . Here's the fix :My problem was of older babel version fixed easily by installing :
In .babelrc file :
Now babel built it successfully after this. |
Uh oh!
There was an error while loading. Please reload this page.
npm test
throws errors in brand new CRA2.0 app (facebook/create-react-app#3815)Steps to reproduce
1) Create [email protected] app with react-app-rewired
2) Create a
config-overrides.js
file in the root directory3) 'Flip' the existing calls to
react-scripts
innpm
scripts4) Run
npm test
Expected
test ran successfully
Current behaviour
The text was updated successfully, but these errors were encountered: