Default image loader gives an error "TypeError: this.incrementalCache.get is not a function" #57322
Closed
1 task done
Labels
bug
Issue was opened via the bug report template.
Image (next/image)
Related to Next.js Image Optimization.
invalid link
The issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.
Link to the code that reproduces this issue
https://dev.gz-plein.nl
To Reproduce
5.2023-10-18T06:22:30.102597711Z: [ERROR] at async NextNodeServer.runImpl (/home/site/wwwroot/node_modules/next/dist/server/base-server.js:601:29)
2023-10-18T06:22:30.102602411Z: [ERROR] at async NextNodeServer.handleRequestImpl (/home/site/wwwroot/node_modules/next/dist/server/base-server.js:533:20)
2023-10-18T06:22:30.322019397Z: [ERROR] TypeError: this.incrementalCache.get is not a function
2023-10-18T06:22:30.322063097Z: [ERROR] at /home/site/wwwroot/node_modules/next/dist/server/response-cache.js:46:74
2023-10-18T06:22:30.322070797Z: [ERROR] at ResponseCache.get (/home/site/wwwroot/node_modules/next/dist/server/response-cache.js:90:11)
2023-10-18T06:22:30.322076097Z: [ERROR] at Object.fn (/home/site/wwwroot/node_modules/next/dist/server/next-server.js:406:74)
2023-10-18T06:22:30.322080897Z: [ERROR] at Router.execute (/home/site/wwwroot/node_modules/next/dist/server/router.js:315:44)
2023-10-18T06:22:30.322085697Z: [ERROR] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-10-18T06:22:30.322090197Z: [ERROR] at async NextNodeServer.runImpl (/home/site/wwwroot/node_modules/next/dist/server/base-server.js:601:29)
2023-10-18T06:22:30.322109697Z: [ERROR] at async NextNodeServer.handleRequestImpl (/home/site/wwwroot/node_modules/next/dist/server/base-server.js:533:20)/appsvctmp/volatile/logs/runtime/ef9eba3181febc83e0dbec5d456e34a4efc4c67a92aaab506ed6f19483326063.log
Current vs. Expected behavior
Current behavior
Expected behavior
The _next/image request should return 200 http status, as it happened with previous NextJs versions
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
Image optimization (next/image, next/legacy/image)
Additional context
The version of the nextjs we are encountering this problem is from 13.4.1 till 13.4.7. We cannot move on a higher version than 13.4.7 as then we are affected by another bug #56612
On the dev builds and on production build running on windows based machines we don't encounter this issue
Because of this we cannot provide a code sandbox example
The text was updated successfully, but these errors were encountered: