Npm install @cloudflare/workers-kv throws an error

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@cloudflare%2Fworkers-kv - Not found
npm ERR! 404
npm ERR! 404 ‘@cloudflare/workers-kv@*’ is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url

That package doesn’t exist, where did you see that?

1 Like

Our AI buddies at ChatGPT recommended it.

I read the documentation and realised I only needed to add:

export default {
fetch: handleRequest
};

//This case can be closed thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.