-
Notifications
You must be signed in to change notification settings - Fork 97
no index.js #75
Comments
May it be related to #73 ? |
Verified. Something broke the Redux store hookups, and this reveals a big weakness in our tests. We need to test the actual data being rendered, rather than simply checking that the routes don't have errors. I'm currently occupied with encapsulating all these hookups in react-easy-universal. When that is finished, I'll replace the code here. In the meantime, I think it would be useful to figure out what's going on here. It may even help me with the work I'm doing. Would anybody like to investigate and try a PR? |
I can do e2e tests. I have smoke-tests in place for all my libs. |
Created #76 |
You shouldn't. npm run build |
The missing index file should be fixed by #71. Basically, just run |
Can confirm. npm run build fixes it. However, I ran into a couple of other issues. I get undefined in location when accessing http://0.0.0.0:8080. Accessing the test-data route manually works just fine. Additionally, I can't really get any effect out of the hot-reload, because if I for instance edit the test-data component manually, nothing happens. If I refresh, the changes are visible for a second, before being replaced by the static content. |
Agreed with @svenanders , having exactly the same issue after running build then start. Backend is hot compiling, but front end does not seem to be listening and even a hard refresh shows new code for an instant, before reverting to old code from manual build. |
Open to PRs! Would one of you like to tackle these issues? |
Hi,
After a git clone & npm install, I try to run the devServer thanks to npm start.
Here is the log:
However, when I try to reach http://localhost:3000/, I got a blank page. Moreover, I don't have any index.js in the static folder. What am I doing wrong ?
Thanks.
The text was updated successfully, but these errors were encountered: