denoland / denoland/deploy_feedback

[Bug]: Unable to use jsr:@std/http/file_server as entry point in deployctl

Open
#646 3 comments 2 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

I'm attempting to deploy my new site to Deploy via deployctl:

```sh
deployctl deploy --include=./build --project=my-new-site --entrypoint=jsr:@std/http/file_server
```

as per the instructions at https://docs.deno.com/deploy/manual/deployctl#include-and-exclude-files. This produces the following output:

> error: Failed to open entrypoint file at 'file:///Users/chris/dev/deno/my-website/jsr:@std/http/file_server': No such file or directory (os error 2): lstat '/Users/chris/dev/deno/my-website/jsr:@std/http/file_server'

the jsr verison of the file_server is not recognized. I've also tried using `--entrypoint=jsr:@std/http/file-server` (with dash instead of underscore) but get the same result.

As an aside, you may wish to update the instructions linked above to use dash (which I think is correct?) in `file-server`.

### Steps to reproduce

Run deployctl on a new static site using the jsr std file-server as the entry point

### Expected behavior

The site deploys successfully.

### Environment

Deno v1.42.1
deployctl 1.12.0

### 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.