Skip to content

Commit db90f1d

Browse files
authored
fix: improve 500 error message (#1064)
- Closes #1063
1 parent 6effb6f commit db90f1d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/pages/500.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ export default () => (
1212
<div style={{ textAlign: 'center', marginBottom: '2rem' }}>
1313
<h1>500 Internal Server Error</h1>
1414

15-
<p>Oops, something went terribly wrong.</p>
15+
<p>Oops, the package failed to install.</p>
16+
<p style={{ maxWidth: '500px' }}>
17+
This can happen when there is no prebuilt binary for node@
18+
{process.versions.node} or the install script requires CLIs like
19+
python/curl/etc.
20+
</p>
1621
<p>
1722
<a href={pages.index}>Go Home You</a>
1823
</p>

0 commit comments

Comments
 (0)