You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error is emphasized on typescript, but typescript has absolutely nothing to do with the cause of this problem.
Especially in a non-code resource, such an error message will make people think that it is a loader problem rather than a path problem. For example:
When I try to compile a project with a non-existent path in import, rspack will display an error message like this:
error[internal]: Resolve error ┌─ src/main/index.ts:1:1 │ 1 │ ╭ import './non-existent/path' 2 │ │ │ ╰^ Failed to resolve ./non-existent/path in typescript|<my_entry_path>
This error is emphasized on
typescript
, buttypescript
has absolutely nothing to do with the cause of this problem.Especially in a non-code resource, such an error message will make people think that it is a
loader
problem rather than a path problem. For example:error[internal]: Resolve error ┌─ src/main/index.ts:1:1 │ 1 │ ╭ import './non-existent/path/foo.node' 2 │ │ │ ╰^ Failed to resolve ./non-existent/foo.node in typescript|<my_entry_path>
The text was updated successfully, but these errors were encountered: