-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
I tried installing the Convex Workflow Package
My convex config file:
import { defineApp } from "convex/server";
import betterAuth from "@convex-dev/better-auth/convex.config";
import migrations from "@convex-dev/migrations/convex.config";
import workflow from "@convex-dev/workflow/convex.config";
const app = defineApp();
// Register Better Auth component so its internal functions & tables are generated
app.use(betterAuth);
// Register migrations component
app.use(migrations);
// Register workflow component for durable Apple credential setup
app.use(workflow);
export default app;
I then got the build error
node_modules/@convex-dev/workflow/dist/component/convex.config.js:2:21: ERROR: Could not resolve "@convex-dev/workpool/convex.config"
⠋ Preparing Convex functions...
✘ [ERROR] Could not resolve "@convex-dev/workpool/convex.config"
node_modules/@convex-dev/workflow/dist/component/convex.config.js:2:21:
2 │ import workpool from "@convex-dev/workpool/convex.config";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@convex-dev/workpool/convex.config" as external to exclude it from the
bundle, which will remove this error and leave the unresolved path in the bundle.
✖ esbuild failed: Error: Build failed with 1 error:
Any ideas? I tried switching between 0.2.5 and 0.2.6 and the same issue
Metadata
Metadata
Assignees
Labels
No labels