Skip to content

Minified React Error w/ Next.js and Vercel #146

@haaarshsingh

Description

@haaarshsingh

I've deployed react-runner into production in Vercel using Next.js, but for some reason I get this minified react error logged into the console and the code editor doesn't run properly as the output is blank.

Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at lg (react-dom.production.min.js:132:269)
    at i (react-dom.production.min.js:294:336)
    at oD (react-dom.production.min.js:281:375)
    at react-dom.production.min.js:281:315
    at oO (react-dom.production.min.js:281:315)
    at ox (react-dom.production.min.js:269:193)
    at x (scheduler.production.min.js:14:181)
    at MessagePort.T (scheduler.production.min.js:15:101)

For context, this works perfectly fine in dev. I'll attach screenshots below. The first is in development, the second in production:

screenshot in dev, with a button
screenshot in product, with no button

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions