-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
UpstreamRelated to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).please add a complete reproductionPlease add a complete reproduction.Please add a complete reproduction.
Milestone
Description
Bug report
Describe the bug
When I run my site (Next JS 9.4.4) inside the Storyblok content editor (which places it inside an iframe) then no Javascript is run on the site and as such the screen stays blank because of a fix added to a recent Next release to hide the FOUC.
I think javascript execution stops because of the following error:
Error was not caught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
at initializeBuildWatcher (http://localhost:3000/_next/static/runtime/main.js?ts=1591116741992:11757:38)
at http://localhost:3000/_next/static/runtime/main.js?ts=1591116741992:13020:40
(anonymous) @ next-dev.js:48
Promise.catch (async)
(anonymous) @ next-dev.js:30
./node_modules/next/dist/client/next-dev.js @ next-dev.js:30
__webpack_require__ @ bootstrap:797
checkDeferredModules @ bootstrap:44
webpackJsonpCallback @ bootstrap:31
(anonymous) @ main.js?ts=1591116741992:1
To Reproduce
It is not possible to reproduce the problem without logging into a private Storyblok account to see it.
System information
- OS: [Windows]
- Browser [chrome]
- Version of Next.js: [9.4.4]
Additional context
Add any other context about the problem here.
dohomi
Metadata
Metadata
Assignees
Labels
UpstreamRelated to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).please add a complete reproductionPlease add a complete reproduction.Please add a complete reproduction.