#I'm having problems integrating launch darkly

8 messages · Page 1 of 1 (latest)

stuck ledge
#
// convex/convex.config.ts
import { defineApp } from "convex/server";
import launchdarkly from "@convex-dev/launchdarkly/convex.config";

const app = defineApp();

app.use(launchdarkly);

export default app;
Failed to analyze config.js: Uncaught Error: Component definition does not have the required componentDefinitionPath property. This code only works in Convex runtime.

Also, the library has a vulnerability (which I submitted a PR on) https://github.com/get-convex/launchdarkly

GitHub

A Convex component that syncs LaunchDarkly feature flags - get-convex/launchdarkly

bold fieldBOT
#

Thanks for posting in #1088161997662724167.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.

    - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
    - Use [search.convex.dev](https://search.convex.dev) to search Docs, Stack, and Discord all at once.
    - Additionally, you can post your questions in the Convex Community's #1228095053885476985 channel to receive a response from AI.
    - Avoid tagging staff unless specifically instructed.

    Thank you!
verbal hound
#

@stuck ledge what version of convex are you using?

#

oh I see it nevermind

#

What is the filename where you've saved the code you pasted in?

#

Is it convex/config.ts instead of convex/convex.config.ts?

stuck ledge