Next.js Discord

Discord Forum

Uncaught Error: Invariant: Missing ActionQueueContext

Unanswered
Selkirk Rex posted this in #help-forum
Open in Discord
Selkirk RexOP
Maybe we need some articles with these errors

26 Replies

Selkirk RexOP
i did nothing that happend itself
Hmm... can you provide some code?
Selkirk RexOP
why this is with capital case
kinda weird
@Nelson Hmm... can you provide some code?
Selkirk RexOP
what exactly
let me think
i will just remove everything
just a moment
import type { Metadata } from "next";
import { Inter as FontSans } from "next/font/google";
import "./globals.css";
import { cn } from "@/lib/utils";
import Navbar from "@/components/partials/Navbar";
import Footer from "@/components/partials/Footer";
import { ThemeProvider } from "@/components/providers/ThemeProvider";

const fontSans = FontSans({ subsets: ["latin"], variable: "--font-sans" });

export const metadata: Metadata = {
  title: "Labify",
  description: "Generate labs from video lectures",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body
        className={cn(
          "min-h-screen bg-background font-sans antialiased",
          fontSans.variable
        )}
      >
        {/* <ThemeProvider
          attribute="class"
          defaultTheme="system"
          enableSystem
          disableTransitionOnChange
        >
          <Navbar />
          {children}
          <Footer />
        </ThemeProvider> */}
      </body>
    </html>
  );
}
this code doesn work
i mean same result
it works actually
@Selkirk Rex Click to see attachment
Oh, I have searched the google. This is the problem. Try to restart your PC or use another terminal.
Selkirk RexOP
maybe i will install linux in future
on linux i didnot have same problems
but i need windows as well
:lolsob:
Selkirk RexOP
i think i need two computers
Try WSL
Selkirk RexOP
When i have job i will buy laptop for nextjs
xdd
@Nelson Try WSL
Selkirk RexOP
firstly i try to clone again
and then yes
from github i mean