added some asynclocalstorage stuff to my nextjs app, and it gets bundled into the frontend code???
added some asynclocalstorage stuff to my nextjs app, and it gets bundled into the frontend code???
const users = await fetch(USERS_URL, { next: { revalidate: 60 } }).then(…)The script will never generate a response when trying to use fetch() in my generateMetaData function in NextJS 14. I've seen a lot of similar bugs reported on this but haven't been able to find a solution. Is anyone familiar with this?A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished._headers file so I don't need to manually edit ./.vercel/output/static/_headers after every build?npx next dev would (with instant updates as I change the code, instead of needing to compile everything all the time).wrangler pages dev it will run an outdated version of what I locally have (which I assume is my last build).wrangler dev it is asking me to specify an entry point, which I don't now what to put in there for the dev environment.next dev. When you are done developing and want to deploy, run wrangler pages dev to test the final version before deployment.wrangler.tomlwrangler dev runs a worker, but next-on-pages is a pages feature (which is a subset of workers). So, wrangler dev will probably not be compatible with next-on-pages, so please use wrangler pages dev.const users = await fetch(USERS_URL, { next: { revalidate: 60 } }).then(…)The script will never generate a responseA hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished._headers./.vercel/output/static/_headers (error) TypeError: Cannot read properties of null (reading 'useContext')
(error) TypeError: Cannot read properties of null (reading 'useContext')
(error) ⨯ TypeError: Cannot read properties of null (reading 'useContext')
(error) ⨯ TypeError: Cannot read properties of null (reading 'default')npx next devpages_build_output_dir = ".vercel/output/static"pages