Next.js Discord

Discord Forum

NextJS internal files passed as Param URL

Answered
Gharial posted this in #help-forum
Open in Discord
GharialOP
Hello guys, I'm facing an incredible issue

I have a route, call "/basket/[id]". When I go to this page (http://localhost:3000/basket/663fa8faa101f1ddcf7708ad) and I log the id from the params, it logs twice, where the first log contains my id, and in second call, id = "installHook.js.map".
But the issue is that I have some API calls based on that id etc... and it's completely smashing the platform !! wtf Next ?

Did someone already experience this ? Or know how I could fix it ?
Thank you very much

I'm running on NextJS 14.2.3, last version
Answered by Gharial
Turns out it's due to React Developer Tool extension, when opening the console it is sending stuff through the URL
Deactivating extension made it work
View full answer

3 Replies

GharialOP
And now it changes to GET /basket/react_devtools_backend_compact.js.map 500 in 333ms
What is happening 😭
GharialOP
Turns out it's due to React Developer Tool extension, when opening the console it is sending stuff through the URL
Deactivating extension made it work
Answer