denoland / denoland/deploy_feedback

[Bug]: Deploy to Deno Failed after Upgrading Fresh to 1.6.3

Open
#597 3 comments 0 reactions 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

```
error: Uncaught (in promise) SyntaxError: The requested module 'js-beautify' does not provide an export named 'html' at file:///home/runner/work/pendaftaran-efr/pendaftaran-efr/node_modules/.deno/resend@3.0.0/node_modules/@react-email/render/dist/index.mjs:49:10
const manifest = (await import(toFileUrl(join(dir, "fresh.gen.ts")).href))
^
at async dev (https://deno.land/x/fresh@1.6.3/src/dev/dev_command.ts:38:21)
at async file:///home/runner/work/pendaftaran-efr/pendaftaran-efr/dev.ts:8:1
Error: Process completed with exit code 1.
```

This is the message. The error seems to happen at npm resend library. But this doesn't happen at version 1.6.1, prior updating.

This also doesn't happen on local development machine with 1.6.3. Only on Deno deploy.

### Steps to reproduce

1. Installing Fresh 1.6.1
2. Import `npm:resend`
3. Use it
4. Upgrade Fresh to 1.6.3

### Expected behavior

It should have worked as there's no problem at local machine.

### Environment

version: Deno 1.39.4
os: Ubuntu 22.04

### Possible solution

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.