Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running npx @edgedb/generate edgeql-js #753

Closed
zchenb opened this issue Oct 28, 2023 · 2 comments
Closed

Error running npx @edgedb/generate edgeql-js #753

zchenb opened this issue Oct 28, 2023 · 2 comments
Labels
upstream:edgedb Issue produced by changes to EdgeDB/EdgeQL

Comments

@zchenb
Copy link

zchenb commented Oct 28, 2023

Describe the bug

Running npx @edgedb/generate edgeql-js results in the following error.

Generating query builder...
Detected package.json. Generating .js files with CommonJS module syntax.
   To override this, use the --target flag.
   Run `npx @edgedb/generate --help` for full options.
Introspecting database schema...
Cannot find 'anytype' in multirange<std::anypoint>

Reproduction
Create default.esdl
run migration create/apply
run the npx @edgedb/generate edgeql-js command

using extension auth;
using extension edgeql_http;

module default {


    type User {
        name: str;
        email: str;
        identity: ext::auth::Identity;
    }

}

Expected behavior
It should not happen

Versions (please complete the following information):

  • OS: macOS
  • EdgeDB version (e.g. 2.0): "4.0-rc.1+0dfbf64
  • EdgeDB CLI version (e.g. 2.0): EdgeDB CLI 4.1.0-dev.1057+4a6d031
  • edgedb-js version (e.g. 0.20.10;): [email protected]
  • Node/Deno version: v20.5.0

Additional context
Add any other context about the problem here.

@scotttrinh scotttrinh added the upstream:edgedb Issue produced by changes to EdgeDB/EdgeQL label Oct 30, 2023
@KaelWD
Copy link

KaelWD commented Nov 3, 2023

Not getting this anymore with

"@edgedb/generate": "^0.4.1",
"edgedb": "^1.4.0",

@scotttrinh
Copy link
Collaborator

Fixed in #733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream:edgedb Issue produced by changes to EdgeDB/EdgeQL
Projects
None yet
Development

No branches or pull requests

3 participants