Var&
Var&
CCConvex Community
Created by Var& on 9/25/2024 in #support-community
getting compile TS error after upgrading to v1.16.2
Thank you @ballingt I confirm it's fixed with mentioned version 🙏
9 replies
CCConvex Community
Created by Var& on 9/25/2024 in #support-community
getting compile TS error after upgrading to v1.16.2
Apologies forgot to mention that "typescript": "~5.3.3"
9 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
@Michal Srb and @ballingt you can ignore this thread, I don't knwo what happened, I really dont know, after pushing my branch and merging it with main (yes broken branch), it starts to work. nothing is changed in code, I just ran npx convex dev on main branch and it started to compile. I have nothing to add 😄
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
node v20.14.0 NextJs 14.2.4 yarn 4.3.0 convex 1.12.2
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
schema.ts
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";

export default defineSchema({
requests: defineTable({
completed: v.boolean(),
email: v.string(),
}),
});
schema.ts
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";

export default defineSchema({
requests: defineTable({
completed: v.boolean(),
email: v.string(),
}),
});
requests.ts
import { v } from "convex/values";
import { query } from "./_generated/server";

export const queryRequest = query({
args: { email: v.string() },
handler: async (ctx, args) => {
const request = await ctx.db
.query("requests")
.filter((q) => q.eq(q.field("email"), args.email))
.first();
return request;
},
});
requests.ts
import { v } from "convex/values";
import { query } from "./_generated/server";

export const queryRequest = query({
args: { email: v.string() },
handler: async (ctx, args) => {
const request = await ctx.db
.query("requests")
.filter((q) => q.eq(q.field("email"), args.email))
.first();
return request;
},
});
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
ls -al convex
total 32
drwxr-xr-x 7 <myname> staff 224 Jun 21 20:26 .
drwxr-xr-x 21 <myname> staff 672 Jun 21 19:46 ..
-rw-r--r-- 1 <myname> staff 2502 Jun 21 19:46 README.md
drwxr-xr-x 7 <myname> staff 224 Jun 21 20:26 _generated
-rw-r--r-- 1 <myname> staff 342 Jun 21 20:25 requests.ts
-rw-r--r-- 1 <myname> staff 212 Jun 21 20:25 schema.ts
-rw-r--r-- 1 <myname> staff 756 Jun 21 19:46 tsconfig.json
ls -al convex
total 32
drwxr-xr-x 7 <myname> staff 224 Jun 21 20:26 .
drwxr-xr-x 21 <myname> staff 672 Jun 21 19:46 ..
-rw-r--r-- 1 <myname> staff 2502 Jun 21 19:46 README.md
drwxr-xr-x 7 <myname> staff 224 Jun 21 20:26 _generated
-rw-r--r-- 1 <myname> staff 342 Jun 21 20:25 requests.ts
-rw-r--r-- 1 <myname> staff 212 Jun 21 20:25 schema.ts
-rw-r--r-- 1 <myname> staff 756 Jun 21 19:46 tsconfig.json
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
ls -al .
total 2168
drwxr-xr-x 21 <myname> staff 672 Jun 21 19:46 .
drwxr-xr-x 11 <myname> staff 352 Jun 19 21:07 ..
-rw-r--r--@ 1 <myname> staff 6148 Jun 21 15:20 .DS_Store
-rw-r--r-- 1 <myname> staff 192 Jun 21 19:46 .env.local
-rw-r--r-- 1 <myname> staff 40 Jun 19 21:12 .eslintrc.json
drwxr-xr-x 15 <myname> staff 480 Jun 22 21:31 .git
-rw-r--r-- 1 <myname> staff 399 Jun 19 21:30 .gitignore
drwxr-xr-x 11 <myname> staff 352 Jun 21 21:19 .next
-rwxr-xr-x 1 <myname> staff 792403 Jun 21 20:29 .pnp.cjs
-rw-r--r-- 1 <myname> staff 71512 Jun 19 21:24 .pnp.loader.mjs
drwxr-xr-x 4 <myname> staff 128 Jun 20 01:58 .vscode
drwxr-xr-x 5 <myname> staff 160 Jun 19 21:26 .yarn
-rw-r--r-- 1 <myname> staff 1263 Jun 20 01:58 README.md
drwxr-xr-x 7 <myname> staff 224 Jun 21 20:26 convex
-rw-r--r-- 1 <myname> staff 201 Jun 19 21:12 next-env.d.ts
-rw-r--r-- 1 <myname> staff 92 Jun 19 21:12 next.config.mjs
-rw-r--r-- 1 <myname> staff 706 Jun 21 20:29 package.json
drwxr-xr-x 3 <myname> staff 96 Jun 20 01:58 public
drwxr-xr-x 5 <myname> staff 160 Jun 21 01:27 src
-rw-r--r-- 1 <myname> staff 613 Jun 21 20:04 tsconfig.json
-rw-r--r-- 1 <myname> staff 198737 Jun 21 20:29 yarn.lock
ls -al .
total 2168
drwxr-xr-x 21 <myname> staff 672 Jun 21 19:46 .
drwxr-xr-x 11 <myname> staff 352 Jun 19 21:07 ..
-rw-r--r--@ 1 <myname> staff 6148 Jun 21 15:20 .DS_Store
-rw-r--r-- 1 <myname> staff 192 Jun 21 19:46 .env.local
-rw-r--r-- 1 <myname> staff 40 Jun 19 21:12 .eslintrc.json
drwxr-xr-x 15 <myname> staff 480 Jun 22 21:31 .git
-rw-r--r-- 1 <myname> staff 399 Jun 19 21:30 .gitignore
drwxr-xr-x 11 <myname> staff 352 Jun 21 21:19 .next
-rwxr-xr-x 1 <myname> staff 792403 Jun 21 20:29 .pnp.cjs
-rw-r--r-- 1 <myname> staff 71512 Jun 19 21:24 .pnp.loader.mjs
drwxr-xr-x 4 <myname> staff 128 Jun 20 01:58 .vscode
drwxr-xr-x 5 <myname> staff 160 Jun 19 21:26 .yarn
-rw-r--r-- 1 <myname> staff 1263 Jun 20 01:58 README.md
drwxr-xr-x 7 <myname> staff 224 Jun 21 20:26 convex
-rw-r--r-- 1 <myname> staff 201 Jun 19 21:12 next-env.d.ts
-rw-r--r-- 1 <myname> staff 92 Jun 19 21:12 next.config.mjs
-rw-r--r-- 1 <myname> staff 706 Jun 21 20:29 package.json
drwxr-xr-x 3 <myname> staff 96 Jun 20 01:58 public
drwxr-xr-x 5 <myname> staff 160 Jun 21 01:27 src
-rw-r--r-- 1 <myname> staff 613 Jun 21 20:04 tsconfig.json
-rw-r--r-- 1 <myname> staff 198737 Jun 21 20:29 yarn.lock
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
npx convex dev -v
Codegen finished.
Skipping convex/README.md
Skipping convex/_generated/api.d.ts
Skipping convex/_generated/api.js
Skipping convex/_generated/dataModel.d.ts
Skipping convex/_generated/server.d.ts
Skipping convex/_generated/server.js
Preparing convex/requests.ts
Skipping convex/schema.ts
Skipping convex/tsconfig.json
npx convex dev -v
Codegen finished.
Skipping convex/README.md
Skipping convex/_generated/api.d.ts
Skipping convex/_generated/api.js
Skipping convex/_generated/dataModel.d.ts
Skipping convex/_generated/server.d.ts
Skipping convex/_generated/server.js
Preparing convex/requests.ts
Skipping convex/schema.ts
Skipping convex/tsconfig.json
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
I tried -v which prints which files are skipped
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
npx convex dev --debug
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
it's an unknow flag, error: unknown option '--debug'
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
and most importantly convex at version 1.12.2
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
I was able to use the import command and insert test data
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
as soon as I create my first .ts file it starts behaving this way
26 replies
CCConvex Community
Created by syedsharukhhussainy on 4/15/2024 in #support-community
If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
I have this issue on my mac, using node v20.14.0 and NextJs 14.2.4
26 replies
CCConvex Community
Created by Var& on 2/27/2024 in #support-community
convex not compiling due to TS/Flow errors
sorry for the delayed response. yes, exactly, this was a util.ts file that was returning icons for buttons based on conditions. the native builds (ios,android) were all good that's why I never suspected that. and the error messages from convex was leading me to nested node_module files.
98 replies
CCConvex Community
Created by Var& on 2/27/2024 in #support-community
convex not compiling due to TS/Flow errors
someone was not happy about that haha
98 replies
CCConvex Community
Created by Var& on 2/27/2024 in #support-community
convex not compiling due to TS/Flow errors
I was importing Icons from lucid (tamagui's icon pack) into a util.ts to return them to component,
98 replies
CCConvex Community
Created by Var& on 2/27/2024 in #support-community
convex not compiling due to TS/Flow errors
I found it, the bad apple.
98 replies
CCConvex Community
Created by Var& on 2/27/2024 in #support-community
convex not compiling due to TS/Flow errors
thank you so much for your time again, cheers
98 replies