Replies: 2 comments
-
|
this is a known issue with the Next.js 16 standalone + Turbopack build. It’s not an Azure problem , it’s the filename convention coming from the new server bundle. A couple things u can do right now: 1. Disable the “node:” protocol in chunk names (works)Add this to your /** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverComponentsExternalPackages: [],
},
webpack(config) {
// Rewrite node:foo imports to just foo so the chunk name doesn't contain a colon
config.resolve.alias = {
...config.resolve.alias,
"node:inspector": "inspector",
};
return config;
},
};
module.exports = nextConfig; |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
webpack build flag fixes this for now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Next.js 16 standalone build is generating chunk files with colons in their names (like
node:inspector), which are invalid for NTFS file systems and cause the GitHub Actions artifact upload to fail.Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions