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

TypeError: Module not found "https://deno.land/std/hash/mod.ts". #3780

Closed
ralyodio opened this issue Nov 8, 2023 · 5 comments
Closed

TypeError: Module not found "https://deno.land/std/hash/mod.ts". #3780

ralyodio opened this issue Nov 8, 2023 · 5 comments
Labels
bug Something isn't working needs triage

Comments

@ralyodio
Copy link

ralyodio commented Nov 8, 2023

Warning Implicitly using latest version (0.205.0) for https://deno.land/std/hash/mod.ts
TypeError: Module not found "https://deno.land/std/hash/mod.ts".
at https://deno.land/x/god_crypto@v0.2.0/src/eme_oaep.ts:1:28
at async ClientSQLite._migrationHandler (https://deno.land/x/nessie@2.0.11/clients/AbstractClient.ts:246:37)
at async ClientSQLite._migrate (https://deno.land/x/nessie@2.0.11/clients/AbstractClient.ts:103:7)
at async ClientSQLite.migrate (https://deno.land/x/nessie@2.0.11/clients/ClientSQLite.ts:107:5)
at async Command.migrate [as fn] (https://deno.land/x/nessie@2.0.11/cli/commands.ts:138:3)
at async Command.execute (https://deno.land/x/cliffy@v0.25.7/command/command.ts:1794:7)
at async Command.parseCommand (https://deno.land/x/cliffy@v0.25.7/command/command.ts:1639:14)
at async cli (https://deno.land/x/nessie@2.0.11/cli.ts:29:3)
at async run (https://deno.land/x/nessie@2.0.11/cli.ts:139:5)
at async https://deno.land/x/nessie@2.0.11/cli.ts:158:1 {
code: "ERR_MODULE_NOT_FOUND"
}

@ralyodio ralyodio added bug Something isn't working needs triage labels Nov 8, 2023
@crowlKats
Copy link
Member

crowlKats commented Nov 8, 2023

std/hash is not available anymore since over a year, as it has been removed in #2786

@ralyodio
Copy link
Author

ralyodio commented Nov 8, 2023

what do i use in its replacement?

@lino-levan
Copy link
Contributor

It seems like nessie is using a comically old version of god_crypto which for some reason did not pin the standard library at the time. This is a bug with nessie and should probably be reported.

@lino-levan
Copy link
Contributor

It looks like Nessie is unmaintained (halvardssm/deno-nessie#165). The author recommends that you use Prisma instead.

@iuioiua
Copy link
Contributor

iuioiua commented Nov 8, 2023

Yes, std/hash was removed a while ago. Lino's suggestion seems like a good one.

@iuioiua iuioiua closed this as completed Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

4 participants