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

[BUG] The requested module 'npm:hash.js@^1.1.7' does not provide an export named 'hmac' when running Inngest on Deno #718

Open
davidgomes opened this issue Oct 4, 2024 · 2 comments

Comments

@davidgomes
Copy link

Describe the bug / To reproduce
Steps to reproduce the behavior:

$ deno repl
Deno 1.46.3
exit using ctrl+d, ctrl+c, or close()
> import Inngest from "jsr:@inngest/sdk";
:white_check_mark: Granted all net access.
Uncaught SyntaxError: The requested module 'npm:hash.js@^1.1.7' does not provide an export named 'hmac' at https://jsr.io/@inngest/sdk/3.22.13/src/helpers/net.ts:2:10
    at async <anonymous>:1:53

Expected behavior
This should not crash.

Code snippets / Logs / Screenshots
N/A

System info (please complete the following information):

  • OS: Mac
  • Deno 1.46.3 (latest stable version)

Additional context
N/A

@NicoCaldo
Copy link

With Deno 2 you can use import { Inngest } from "npm:inngest";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants