No matching version found for drizzle-orm@cache

[00:~/some-path]$ pnpm add drizzle-orm@cache (0xtz52/0xd-13-improvments-000001✱)
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for drizzle-orm@cache

This error happened while installing a direct dependency of /home/tz/0xtz/edva-sms

The latest release of drizzle-orm is "0.44.1".

Other releases are:
* docs-1: 0.14.2-c7344a5
* feature/pg-aws-dataapi: 0.15.1-2b4d90d
* 174/merge: 0.19.0-ac3f325
...
* alternation-engine: 0.43.1-a4825a4

If you need the full list of all 1073 published versions run "$ pnpm view drizzle-orm versions".
Progress: resolved 77, reused 77, downloaded 0, added 0
[00:~/some-path]$ pnpm add drizzle-orm@cache (0xtz52/0xd-13-improvments-000001✱)
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for drizzle-orm@cache

This error happened while installing a direct dependency of /home/tz/0xtz/edva-sms

The latest release of drizzle-orm is "0.44.1".

Other releases are:
* docs-1: 0.14.2-c7344a5
* feature/pg-aws-dataapi: 0.15.1-2b4d90d
* 174/merge: 0.19.0-ac3f325
...
* alternation-engine: 0.43.1-a4825a4

If you need the full list of all 1073 published versions run "$ pnpm view drizzle-orm versions".
Progress: resolved 77, reused 77, downloaded 0, added 0
aaaaaaaah ? https://orm.drizzle.team/docs/cache i cant find a way to install it hhhhhh any help?
Drizzle ORM - Cache
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
4 Replies
oke
oke5mo ago
There is not a package with the name drizzle-orm@cache Where are you getting this installation command ? Seems like you can just import like in the examples and use the cache sub-package without installing anything else except drizzle-orm itself
0xtz
0xtzOP4mo ago
the official upstash website : https://upstash.com/docs/redis/integrations/drizzle and can't import it 😔
oke
oke4mo ago
What version of drizzle-orm you're using - use pnpm ls drizzle-orm ? The cache module was only introduced since 0.44.0 https://github.com/drizzle-team/drizzle-orm/releases/tag/0.44.0 The upstash doc was likely a bit outdated. There used to be a cache tag in Drizzle-orm repo, but not any more since it has been merged in 0.44.0. So now you can just use the cache sub-package by installing latest version npm install drizzle-orm@latest
GitHub
Release 0.44.0 · drizzle-team/drizzle-orm
Error handling Starting from this version, we’ve introduced a new DrizzleQueryError that wraps all errors from database drivers and provides a set of useful information: A proper stack trace to id...
0xtz
0xtzOP4mo ago
yes I have the latest one hhhh waiting for them to explain what went wrong etc

Did you find this page helpful?