aspect-build/rules_js

[Bug]: on 1.x, IDE types can sometimes not match ts_project types, causing builds to fail for resolving the wrong type package

Aghassi opened this issue · 0 comments

What happened?

See this thread https://bazelbuild.slack.com/archives/CEZUUKQ6P/p1714672684183969

I don't have a root cause and it's very hard to nail down what's happening under the hood. From a high level this seems to be something in how node is resolving types in the bazel sandbox being off, but only sometimes. The virtual store looks identical to my .pnpm virtual store, which makes this hard to figure out.

Version

Development (host) and target OS/architectures:

Output of bazel --version:
7.x

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

No response

Any other information?

No response