denoland / denoland/deploy_feedback

[Bug]: NextJS deployment failure because of woff2

Open
#823 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Problem description

Image

### Steps to reproduce

1. deployctl deploy --include=.next --include=public jsr:@deno/nextjs-start/v15
2. deployment failed after all assets is uploaded.
3. error message "error: The deployment failed: content of 'file:///src/.next/static/media/569ce4b8f30dc480-s.p.woff2' module is not valid utf8" is shown

### Expected behavior

Tried to deploy NextJS built file but failed.

### Environment

deno v2.2.2
NextJS 15

### Possible solution

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with `deployctl deploy --include=.next --include=public jsr:@deno/nextjs-start/v15` using Deno v2.2.2 and NextJS 15. Inspect how the deployment handles the uploaded `.next/static/media/*.woff2` asset; done means the NextJS build deploys successfully without the invalid UTF-8 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, nextjs
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.