Open SiarheiLazakovich opened 1 year ago
I am also having this issue, it applies to layout-[hash].js
inside app folder as well; I also have appDir: true, and am also setting the same buildId
Having the same Issue with chunk hash, Is there any updates to solve it?
same issue
same issue applies to xxxx-[hash].js
and main-app-[hash].js
, when I run npm run build
on two centOS machines. Those two has totally same project files(including .git
folder)
same issue applies to
xxxx-[hash].js
andmain-app-[hash].js
, when I runnpm run build
on two centOS machines. Those two has totally same project files(including.git
folder)
Env Info:
Verify canary release
Provide environment information
MacBook Pro 2021 Apple M1 Max (macOS Ventura 13.2 (22D49))
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue
this example works perfect in cloud (x64) but if download and run locally (arm64) works wrong (see video and screenshot) example: https://stackblitz.com/edit/vercel-next-js-2m8zyx video: https://drive.google.com/file/d/1g_np1lkYjezVHlHDiByGSiRKu5E8URNq/view?usp=sharing
To Reproduce
npx create-next-app@latest --experimental-app
yarn build
rm -rf .next
yarn build
Describe the Bug
generateBuildId does't work properly; nextjs build doesn't generate same chunk hash for main-app-[hash].js on rebuilds if nothing changed. reproduced only on arm64.
Expected Behavior
hash for main-app-[hash].js chunk keep the same on rebuilds if nothing changed.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response