Replies: 1 comment
-
It tries to load For the yarn pnp part I am not sure, I am not familiar at all with it, how does it work? Could you make a repo with a repro so we can investigate how to support that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to the question of why there is a
tsp install
in the first place -- I am trying to boot up with a clean yarn pnp workspace - which is a bit of a challenge with the current typespec ecosystem as it seems to lean into using "node_modules" heavily for extensions.For the vs code extension, in
settings.json
file can be pointed to an unplugged compiler, e.g.:Overall though, simply running
yarn tsp
does not seem enough to maintain the pnp resolver:Note source-map-support is in the dev dependencies, so that may be a hint as to something going strange in the loader.
Similarly, or from a different strategy, we can quickly reproduce a sad time with yarn in:
That stated, this appears to work:
That's using
@yarnpkg/pnpify
and whether or not it's needed, I added to my.yarnrc.yml
:Beta Was this translation helpful? Give feedback.
All reactions