Skip to content

Cannot deploy "Basic Auth Password Protection" example to Vercel #32

@judewang

Description

@judewang

Problem

I copied and pasted the _middleware.ts from example repo to my Next project, everything worked fine on development environment, and I can run yarn build successfully. When trying to deploy to Vercel, I kept getting an error said An unexpected internal error occurred, then the deploy got failed. The error happened right after Uploading build outputs....

I found the official example will meet the error, too. We cannot even deploy the official example to Vercel.

How to re-produce the issue

Just click the Deploy button on the README page.

CleanShot 2021-11-04 at 18 27 28

CleanShot 2021-11-04 at 18 34 47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions