Unexpected token error
What does this error on raspberry pi + ubuntu means?
```
ubuntu@p:~/src/monster/monster_brain$ npx convex init
Unexpected token ?...
Hi friends I m back to building a
Hi friends! I'm back to building a project with Convex š
I want to coordinate some LLMs requests, store prompts and what not.
I saw a new product category https://www.convex.dev/ai
Can you explain what is it? Was not able to figure out from the website....
Hey all again š I have an aggregate
Hey all again š , I have an aggregate that get intilized by it's own id before being persisted to Convex. After many tries I kept hitting a validator error (the on the mutation). Eventually I just copied an the id of an existing record, deleted that record and tried using that Id, but I discovered that Convex ignored the
_id
and inserted the document with another _id
. Is there is no way of assigning an Id to a record before insert
?getting this error when trying to set up
getting this error when trying to set up clerk and convex auth
```bash
ā Preparing Convex functions...
Unexpected Error: SyntaxError: 'from' expected. (13:24)
11 |...
Auth0 with Apple Sign In
Hello again,
I am trying to get the Auth0 + apple sign in working. It works until the user is redirected back to the platform. I then get the error
Failed to authenticate: "InvalidAuthHeader: Could not parse as id token", check your server auth config...
Hello there How does one change the
Hello there! How does one change the github account linked to the cli? I have two accounts one for work and one for personal and originally tried convex on the work on now I cant seem to stop it from creating new projects on that one opposed to my personal
Replicate Webhook
has anyone ran into an issue with Replicate webhook setup. seems that having
dev:
in the url trigger a validation error in Replicate. Remove dev:
fixed the error, but in that case the action handling the webhook will fire on both dev and prod, right?Removing a field / column
Hi, wanna check how to remove the table columns added due to mutation with unexpect column name?
Testing queries, mutations, actions
What's a good approach for writing tests for Convex actions, queries, and mutations, especially when those tests are dependent on auth state?
hey all š I just started using Convex
hey all š I just started using Convex but I keep hitting an error on the login stage, is this is a bug, or am I doing something wrong?. I'm following up the next.js getting started toturial

Co locating queries in client side code
Co-locating queries in client-side code?
First of all -- congrats on the v1 launch! Love the product and have been using it for side projects.
One of the things that's a bit of a pain for me with Convex is having to switch between files when I'm building an app -- needing to jump between the convex directory for writing queries as well as the react component where I'm writing the app code. A fair number of my query functions are specific to the react component calling them.
...
q
Hi I just discovered that I cant use Sveltekit (with SSR) in firebase without paying! I just need to deploy my portfolio. Does Convex has Storage, Authoritation and SSR for my little portfolio for free?

optimistic updates
soooooooooooooo optimisticUpdates are implemented and now I'm getting definitely a feeling of boilerplate and losing some easiness in my offboarding story, that took way more work than it should have and I introduced some bugs due to me having to restructure functions and naming being hard...
Types of function context and arguments
let's say I want to create a utility function that does a query inside a function like this:
```ts
async function loadGame(db, id) {
const game = (await db
.query("games")...
Stripe webhooks
For the life of me I cannot verify the webhook secret on my Stripe webhook. I've tried console logging the relevant environment variables and they do match. I tried running this action in both the regular Convex runtime and the node.js runtime. I'm really lost š
```ts
export const verifyStripeWebhookAction = internalAction({
args: {...