Description
TypeScript Version: 3.7.0-dev.20190917
Search Terms: linked npm module
Code
This is a build problem, not a code problem. Let me know if this issue should be moved to ts-loader or something like that!
The problem can be reproduced here: https://github.com/callumacrae/typescript-bug
It seems to lie in the tsconfig.json, where in the include
I am trying to include the typings from generic-minimal
, a repository that will contain (untranspiled) code and modules common between my projects.
Direct link to tsconfig.json: https://github.com/callumacrae/typescript-bug/blob/master/tsconfig.json#L31
When generic-minimal
is installed through npm install
, this works fine. When it is symlinked in using npm link
, I get a type error caused by the vue-meta types not being brought in—and vue-meta is installed in the parent repository, not in generic-minimal. I don't see how the two things should have any effect on each other at all.
I might have got what exactly is causing this issue slightly incorrect but I have been on this since Friday now and this is as small a repro as I've managed to come up with :(
Expected behavior:
Actual behavior:
see above
Related Issues:
This issue seems to be related to #31527, although it isn't the same issue.