Skip to content

Commit d664f9a

Browse files
authored
docs(sharp-missing-in-production.mdx): update standalone command (vercel#56191)
1 parent 2e36e7d commit d664f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errors/sharp-missing-in-production.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pnpm add sharp
3434
bun add sharp
3535
```
3636

37-
Then, build your project with `next build`. Finally, restart the server with either `next start` for production mode or `node server.js` for standalone mode.
37+
Then, build your project with `next build`. Finally, restart the server with either `next start` for production mode or `node .next/standalone/server.js` for standalone mode.
3838

3939
- If `sharp` is already installed but can't be resolved, set the `NEXT_SHARP_PATH` environment variable such as `export NEXT_SHARP_PATH=/tmp/node_modules/sharp`. Then, build your project with `next build`. Finally, restart the server with either `next start` for production mode or `node server.js` for standalone mode.
4040

0 commit comments

Comments
 (0)