AP-Forever
AP-Forever
Not sure if this stack trace will help that I got from applying interceptor. npm run start 2>&1 | grep -A 20 "FREEZING NUMBER ARRAY" ```js Trace: === FREEZING NUMBER...
Node Version: v24.15.0 Config file: ```js const path = require('path'); const fs = require('fs'); const webpack = require('webpack'); const sassAliases = { '@sass': path.join(__dirname, 'src/assets/sass'), '@fontawesome': path.join(__dirname, '../../node_modules/font-awesome'), }; //...
I am using Sitecore Content SDK 2.1 with NextJS and deployed on Vercel.
We have a lot of packages and it is Mono-Repo architecture. We have about 7 sites in it. I cannot really share that repo since it is for client. Here...
Here is the architecture of folders
From my stack trace, it looked like the frozen array was being sent by "got" library at build time and at runtime NextJS was trying to sort it.
From my debugging, it was "got" library that sending frozen sizes and passing to image component and then Nextjs tries to sort it. That "got" library comes from dependency of...
This is the trace Found out using an interceptor ```js === SORT CRASH STACK === Error: at Array.sort (/var/task/src/rendering/sites/waterset-mobility-fees/.next/server/pages/[[...path]].js:1:6349) at /var/task/src/rendering/node_modules/next/dist/client/image-component.js:246:43 at Object.useMemo (/var/task/src/rendering/node_modules/react-dom/cjs/react-dom-server.edge.production.js:3639:16) at exports.useMemo (/var/task/src/rendering/node_modules/react/cjs/react.production.js:514:33) at /var/task/src/rendering/node_modules/next/dist/client/image-component.js:240:39 at...
If you need other configs/files, kindly let me know. I will redact sensitive info and provide you with them.
We are using Mapbox sdk as we have a feature on implementation about interactive map. That SDK has a dependency on got library. It may not be an issue, but...