[Error] Server and Client modules are not sync
See original GitHub issueHi, I setup this library with SSR and currently I’m doing code-splitting for redux reducer based on this solution. But I encounter an error as following:
BTW, if I remove the loadComponents().then( ... )
from my client.js
the error gone but another error occurs as following:
Any suggestion for it?
Issue Analytics
- State:
- Created 6 years ago
- Comments:24 (11 by maintainers)
Top Results From Across the Web
[Bug]: server read error causes the client sync to be ... - GitHub
Bug description the client stopped syncing due to a server read error in a directory, which is perfectly accessible via WEB interface. it...
Read more >Troubleshoot sync health and errors in Azure File Sync
Troubleshoot common issues with monitoring sync health and resolving sync errors in an Azure File Sync deployment.
Read more >Troubleshooting General Sync Errors - IBM
Fixes for common Sync issues. The Sync client displays failure to start sync error. When the async binary on the remote computer cannot...
Read more >Sage 100 Sync Error - The file (ModuleName) is being used ...
The sync tool is being blocked from connecting to modules in Sage 100. ... we've asked client to restart their Sage server to...
Read more >SAM client 2110 is not able to sync with SAP Asset Manager ...
tns.NativeScriptException: Failed to find module: "tns-core-modules/application", relative to : app/tns_modules/; Initial sync failed. Errors ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I could make it possible by adding a
require.resolveWeak('./Bar')
like React Loadable does. But right now I do not want to couple it with Webpack.I will give you a solution, you can do it if you want:
The
loadableState
you get has atree
properties, the solution for you is to walk the tree and try to get the full path of the module.If you got the full path of the module, you can easily load it client side.
The actual problem is that you only get the relative path of the module, so you can’t tell to Webpack “Load my module”. Do you see the problem?
Okay, I will survey it when I have time and ask you questions about it man 👍