-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
HMR fails to load "node_modules/react-transform/hmr/lib/index.js" on 0.24.0-rc #6798
Comments
@ide |
@martinbigio I believe that's correct. I ran the script with 0.24.0-rc on my MBP (OS X 10.11.4) with Node 5.9.1. |
No tests for HMR on CircleCI yet but @bestander is working on it 🎉 |
ok, I'l try to take a look tomorrow, not sure what broke this. Does this also affect hmr while developing or only this e2e tests? |
I believe this happens when developing too. The manual E2E tests set up a new project with |
It's already on the list #6800 :) |
Thanks for the heads-up. I've cherry-picked it into 0.24-stable (tested -- HMR works) and will do another RC release after the fix for the AssetRegistry lands (#6822). |
Summary:See facebook#6798 Closes facebook#6814 Differential Revision: D3138776 fb-gh-sync-id: f43404e7bfdf0e3e7c6df16681653d1dd4016e1a fbshipit-source-id: f43404e7bfdf0e3e7c6df16681653d1dd4016e1a
When enabling HMR on 0.24.0-rc in a brand new template project, we get a redbox that says:
I verified that node_modules/react-transform/hmr/lib/index.js exists, and running
npm start -- --reset-cache
doesn't resolve the issue either.Repro steps: run
./scripts/test-manual-e2e.sh
which sets up a new project and launches it in Android (need to have a simulator or device connected in advance). Enable HMR from the dev menu to get the redbox.The text was updated successfully, but these errors were encountered: