Skip to content

Failing Express.js ESM Support #39

Open
@noahflk

Description

Using this import:

import { serve } from "@upstash/workflow/express";

I get this error in an Express.js ESM app:

file:///XXX/node_modules/.pnpm/@[email protected]/node_modules/@upstash/workflow/chunk-ADOBNR4O.mjs:11
  throw Error('Dynamic require of "' + x + '" is not supported');
        ^

Error: Dynamic require of "path" is not supported

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