Skip to content

Failing Express.js ESM Support #39

Description

@noahflk

Using this import:

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

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

file:///XXX/node_modules/.pnpm/@upstash+workflow@0.2.1/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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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