Repeating errors with black screens.

Anyone know what might be causing this being repeated in the console every time I go over a screen?
And why I see no content, just black screens ?

Black background reverts to white if I comment out globals.css in _app.js

//import '../styles/globals.css'

Some time I see this error:
Uncaught SyntaxError: Identifier 'data' has already been declared (at studio.7aa0b8.js:1:1)
hot-dev-client.js:130

Hi @political_magpie, do you have some custom CSS setting the background to black?

The black seems to be coming from …/styles/globals.css:

@media (prefers-color-scheme: dark) {
  :root {
    ...
    --background-start-rgb: 0, 0, 0;
    --background-end-rgb: 0, 0, 0;

The main issue for me though is that no content appears for:

<Component {...pageProps} /

Where:

// import '../styles/globals.css'
import { PlasmicRootProvider } from "@plasmicapp/react-web";
// import type { AppProps } from "next/app";

import Head from "next/head";

function MyApp({ Component, pageProps }) {
  return (
    <PlasmicRootProvider Head={Head}>
      A<Component {...pageProps} />B
    </PlasmicRootProvider>
  );
}

export default MyApp

give me:

Again the console just repeats

Eval sync styles=true eval=true

Seems this looping code above has now gone.
I deleted nodemodules .next .yarn and any other files I found so I could do a fresh yarn install.

So all good now.