histoire-dev / histoire-dev/histoire

Error: Failed to load url

Open
#663 0 comments 0 reactions 0 assignees View on GitHub
to triage
Dominant language
TypeScript
Stars
3.6k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

I use vue with typescript and I have type aliases for stuff in the monorepo like libs. When histoire or vite encounters something with resolveId it actually asks if that file exists at the path, and it actually does at the exact path it suggested.
Could this be a windows issue again

### Reproduction

/

### System Info

```shell
windows 10
histoire@latest
node 18
```

### Used Package Manager

npm

### Validations

- [X] Follow our [Code of Conduct](https://github.com/histoire-dev/histoire/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/histoire-dev/histoire/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://histoire.dev/guide/).
- [X] Check that there isn't [already an issue](https://github.com/histoire-dev/histoire/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/histoire-dev/histoire/discussions).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failed URL resolution on Windows 10 with the reported Vue and TypeScript monorepo setup, using npm and the versions listed. Inspect how Histoire or Vite handles resolveId for the type aliases. Done means the existing alias path resolves successfully without the “Failed to load url” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.