Next.js: Fetch API cannot load file:///path/to/react-dom-server.node.development.js. URL scheme must be "http" or "https" for CORS request.

Created on 14 Jan 2020  路  6Comments  路  Source: vercel/next.js

Bug Report

Describe the bug

Cannot fetch

All 6 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenji4569 picture kenji4569  路  3Comments

knipferrc picture knipferrc  路  3Comments

formula349 picture formula349  路  3Comments

jesselee34 picture jesselee34  路  3Comments

pie6k picture pie6k  路  3Comments