Unverified Commit 8aca9e3b authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

Include more context in macOS Rosetta 2 warning message (#92436)

Addresses this missed review comment: https://github.com/vercel/next.js/pull/92220#discussion_r3024004242

There's only so much context we can provide because there's a ton of different ways users could've installed node incorrectly.
parent d75f07b3
...@@ -96,7 +96,9 @@ class NextRootCommand extends Command { ...@@ -96,7 +96,9 @@ class NextRootCommand extends Command {
os.cpus().some((cpu) => cpu.model.includes('Apple')) os.cpus().some((cpu) => cpu.model.includes('Apple'))
) { ) {
warn( warn(
'You are running Next.js on an Apple Silicon Mac with Rosetta 2 translation, which may cause degraded performance.' 'You are running Next.js on an Apple Silicon Mac with Rosetta 2 ' +
'translation, which may cause degraded performance. You may have ' +
'accidentally installed an x86-64 version of Node.js.'
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment