Closed ivanparramartinez closed 5 months ago
hey there!
I'm not sure about where is located your query builder, have you built it already?
It seems like it fails to build it, do you have a dbschema directory? Is your EdgeDB instance initialized?
As a short-term workaround, I do have these commands in my package.json
to build my custom setup query builder:
"db:generate:client": "npx @edgedb/generate edgeql-js --output-dir ./server/dbschema/query-builder --force-overwrite --target=ts",
"db:generate:interfaces": "npx @edgedb/generate interfaces --file ./server/dbschema/interfaces.ts --force-overwrite",
"db:generate:queries": "npx @edgedb/generate queries --file ./server/dbschema/queries --target=ts --force-overwrite",
"db:generate": "pnpm db:generate:interfaces && pnpm db:generate:queries && pnpm db:generate:client",
"db:reset": "edgedb instance destroy -I my_instance --force && edgedb project init",
Hi, no I haven't built any query builder. Just installing edgedb that errors shows up. Yes I have an schema directory and the edgedb instance initialized.
Just running npm run dev that errors shows up. This is the app directory tree. The query-builder folder just created itself.
@ivanparramartinez I am having the same issue here where nothing is being auto generated. How did you solve the issue?
When running the Nuxt project, there is an issue with a warning:
"#edgedb/queries" is imported by "node_modules/.pnpm/nuxt-edgedb-module@0.0.46_rollup@4.18.0/node_modules/nuxt-edgedb-module/dist/runtime/server/composables/useEdgeDbQueries.mjs", but could not be resolved – treating it as an external dependency.
I don't know if this affect the behaviour of the app. But there is no further information on the internet and I don't know how to solve it, since in the docs there is no information about it.
this is my package.json