RangeError: Incorrect locale information provided
Diagnosis
Prices fail to format for US visitors.
Root cause
formatPrice passes the locale with an underscore, which Intl rejects.
Evidence
LOGError: Invalid locale 'en_US'
2026-10-28T15:49:02Z
Confidence: High
Files
- src/format.js
Suggested fix
Use the BCP 47 tag en-US.
Use a valid locale tag for prices
Removed: new Intl.NumberFormat("en_US", options)Added: new Intl.NumberFormat("en-US", options)