Skip to content

Error while building through : npx open-next build #3

@ibraelillo

Description

@ibraelillo

Bundling server function...
file:///home/ibra/accor/astore/node_modules/.pnpm/open-next@0.0.1/node_modules/open-next/dist/build.js:41
path.resolve(__dirname, "../assets/server-handler.js")
^

ReferenceError: __dirname is not defined
at createServerBundle (file:///home/ibra/accor/astore/node_modules/.pnpm/open-next@0.0.1/node_modules/open-next/dist/build.js:41:26)
at build (file:///home/ibra/accor/astore/node_modules/.pnpm/open-next@0.0.1/node_modules/open-next/dist/build.js:25:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions