Cannot fetch on client successfully, encountering CORS issue, similar to #6374.
Fetch API cannot load file:///D:/_projects/next-learn-demo/6-fetching-data/node_modules/react-dom/cjs/react-dom-server.node.development.js. URL scheme must be "http" or "https" for CORS request.
fetch-cors-bug../6-fetching-datanpm i && npm run devRuns script on client.

All I did was change MyLayout to use a higher order function withLayout as suggested in your tutorial here and update each file to use it as shown in this fork.
Without withLayout-- i.e. just using <Layout>...</Layout> component-- it works as expected.
Related to issue #6374, but this time only using packages referenced by your tutorial. Please advise. Thanks!
The error overlay tries to fetch sourcemaps to apply them on the stacktrace however sometimes it can't find the sourcemap.
I'm pretty sure the undefined property map is actually the props.shows.map on line 9 in the screenshot. The failure to load some of the scripts is causing props and/or shows to return undefined. This is supported by the fact that removing everything between the <ul> tags also fixes the error.
This 404s are expected for the error overlay.
@lfades can you confirm this learn demo doesn't crash on boot?
I get the same error when I'm using HOC's
Getting the same with fetching-data-for-pages
Next.js Version: 9.3.2
Next.js no longer uses this error overlay, so the problem should be solved!
Most helpful comment
Getting the same with fetching-data-for-pages
Next.js Version: 9.3.2