microsoft/dts-gen

dts-gen crashes on package that uses Vue

leonheess opened this issue · 0 comments

If I run dts-gen on a package that uses Vue I get:

Unexpected crash! Please log a bug with the commandline you specified.
C:\Users\redacted\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\run.js:125
        throw e;
        ^

ReferenceError: Vue is not defined
    at Object.8bbf (C:\redacted\node_modules\redacted\dist\redacted.js:7527:18)
    at __webpack_require__ (C:\redacted\node_modules\redacted\dist\redacted.js:20:30)
    at Module.5a74 (C:\redacted\node_modules\redacted\dist\redacted.js:2301:21)
    at __webpack_require__ (C:\redacted\node_modules\redacted\dist\redacted.js:20:30)
    at C:\redacted\node_modules\redacted\dist\redacted.js:84:18
    at Object.<anonymous> (C:\redacted\node_modules\redacted\dist\redacted.js:87:10)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)