Next.js Discord

Discord Forum

why is this error?

Unanswered
Bergamasco Shepherd posted this in #help-forum
Open in Discord
Bergamasco ShepherdOP
npm install @auth/nextjs-edge @auth/core next-auth axios react-webcam
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@auth%2fnextjs-edge - Not found
npm error 404
npm error 404 '@auth/nextjs-edge@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: C:\Users\leonk\AppData\Local\npm-cache_logs\2024-09-27T05_21_25_090Z-debug-0.log

37 Replies

Bergamasco ShepherdOP
tell me the solution
@Filipino Venus https://www.npmjs.com/search?q=%40auth%2Fnextjs-edge
Bergamasco ShepherdOP
what can i do
@Bergamasco Shepherd tell me the solution
dont install it
the lib doesnt exist
@Bergamasco Shepherd what can i do
Filipino Venus
where did you found you should do npm install @auth/nextjs-edge ?
is that ChatGPT ?
if so, go to that ChatGPT tab, close it, use some other form of content not relying on AI
Bergamasco ShepherdOP
what kind of reply are you giving @Filipino Venus ?
Filipino Venus
i'm asking how did you find that package name
it felt like a what ChatGPT could give
if it's not, then all good
but i'm curious how you find that name since it just doesn't exists
Bergamasco ShepherdOP
its deprecated
the owner disbanded
the git
Filipino Venus
it's completly unlisted from the registry
it's not just deprecated at this point
Bergamasco ShepherdOP
I was installing an old project
for some work
didnt work
Filipino Venus
you can't have it back unless you have binary on disk in a cache
@Filipino Venus you can't have it back unless you have binary on disk in a cache
Bergamasco ShepherdOP
doesnt make sense
Filipino Venus
yes it does
but you want to understand what i mean maybe ?
Bergamasco ShepherdOP
no its doesnt
Filipino Venus
yes it does
when you npm i it download and go into a local cache on your disk
if you still have that from an old version
you can re-use it and put it on a feed of yours
and you'd be able to re-install it
without needing the author to re-publish on the public npm registry
that's also how you can use multiple registry from your .npmrc
like adding nexus/github/artifactory/myget etc ...
a package is just a folder on disk at some point
does it makes sense now ?
you mentionned an "old project" so if still have build artifact from a build agent or anything related to that, you might have it there