We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
deno init
deno install jsr:@neon/serverless
neon
main.ts
import { neon } from '@neon/serverless';
deno test
Tests are run without problems
❯ deno test error: Module not found "https://jsr.io/@neon/serverless/0.10.1/pg-protocol". at https://jsr.io/@neon/serverless/0.10.1/index.d.ts:8:31
❯ deno --version deno 2.0.4 (stable, release, aarch64-apple-darwin) v8 12.9.202.13-rusty typescript 5.6.2
The text was updated successfully, but these errors were encountered:
Same issue here with v.0.10.3
For what it's worth, a possible workaround is to import pg-protocol explicitly, for example in deno.json:
pg-protocol
deno.json
{ "imports": { "https://jsr.io/@neon/serverless/0.10.3/pg-protocol": "npm:pg-protocol@^1.7.0" } }
Make sure to update the key to match the version of @neon/serverless you're using, ie 10.1 vs 10.3, etc.
@neon/serverless
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
deno init
deno install jsr:@neon/serverless
neon
in themain.ts
:import { neon } from '@neon/serverless';
deno test
Expected result
Tests are run without problems
Actual result
Environment
❯ deno --version
deno 2.0.4 (stable, release, aarch64-apple-darwin)
v8 12.9.202.13-rusty
typescript 5.6.2
Logs, links
The text was updated successfully, but these errors were encountered: