diff --git a/packages/next-swc/crates/next-core/src/next_server/resolve.rs b/packages/next-swc/crates/next-core/src/next_server/resolve.rs index 1ca85ce2edeb2..fad175f7fa0b2 100644 --- a/packages/next-swc/crates/next-core/src/next_server/resolve.rs +++ b/packages/next-swc/crates/next-core/src/next_server/resolve.rs @@ -234,7 +234,7 @@ impl ResolvePlugin for ExternalCjsModulesResolvePlugin { way Node.js resolves modules is slightly different from the way Next.js \ resolves modules. Next.js was able to resolve it, while Node.js would not be \ able to.\nTry to remove this package from \ - serverComponentsExtenalPackages.\nOr update the import side to use a \ + serverComponentsExternalPackages.\nOr update the import side to use a \ compatible request that can be resolved by Node.js.", ); }; @@ -486,7 +486,7 @@ impl Issue for UnableToExternalize { StyledString::Text("Package ".to_string()), StyledString::Code(package), StyledString::Text(" (".to_string()), - StyledString::Code("serverComponentsExtenalPackages".to_string()), + StyledString::Code("serverComponentsExternalPackages".to_string()), StyledString::Text(" or default list) can't be external".to_string()), ]) .cell()) @@ -510,7 +510,7 @@ impl Issue for UnableToExternalize { StyledString::Text("The request ".to_string()), StyledString::Code(self.request.to_string()), StyledString::Text(" matches ".to_string()), - StyledString::Code("serverComponentsExtenalPackages".to_string()), + StyledString::Code("serverComponentsExternalPackages".to_string()), StyledString::Text( " (or the default list), but it can't be external:".to_string(), ),