denoland / denoland/import_map

Descriptive errror when `some/specifier` does not match entry for `some`

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
34
Forks
14
PR merge metrics
No merged PRs in 30d

Description

For example:

```
error: Relative import path "@std/http/http-errors" not prefixed with / or ./ or ../ and not in import map from "file:///home/runner/work/deno-slack-api/deno-slack-api/deno-slack-api/src/base-client.ts" at file:///home/runner/work/deno-slack-api/deno-slack-api/deno-slack-api/src/base-client.ts:7:49
```

...when the import map only has `@std/http`. (and not `@std/http/`)

This is not descriptive enough. It should provide actionable feedback.

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.