I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
Extension
Expected behavior
I should see what the error actually is.
Actual behavior
The messages is simply: “Build error. Please review your code and try again.”
Reproduction steps
Verbose output
13:30:28 │ rco-shipping-method-disco │ Failed to build function.
13:30:28 │ cart-validation │ Failed to build function.
13:30:28 │ rco-split-shipping-discou │ Failed to build function.
13:30:28 │ app-preview │ ❌ Error
13:30:28 │ cart-validation │ └ Build error. Please review your code and try again.
13:30:28 │ rco-shipping-method-disco │ └ Build error. Please review your code and try again.
13:30:28 │ rco-split-shipping-discou │ └ Build error. Please review your code and try again.
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ (d) Dev status │ (a) App info │ (s) Store info │ (q) Quit
⠇ Preparing dev preview
╭─ error ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Dev preview aborted, build errors detected in extensions │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Operating system
MacOS
CLI version
3.91.0
What language and version are you using in your application?
Rust