Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Generator crashed when trying to generate declaration files for google earth engine #186

Open
max-zinn opened this issue Aug 26, 2023 · 0 comments

Comments

@max-zinn
Copy link

max-zinn commented Aug 26, 2023

Hi,

I just installed dts-gen globally and tried the command shown below. I also have the package @google/earthengine installed globally as the documentation on npmjs stated.

$ dts-gen -m @google/earthengine
Unexpected crash! Please log a bug with the commandline you specified.
C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\run.js:126
        throw e;
        ^

TypeError: Cannot read properties of null (reading 'prototype')
    at isClasslike (C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\index.js:110:19)
    at C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\index.js:43:41
    at Array.some (<anonymous>)
    at hasCloduleProperties (C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\index.js:43:31)
    at getValueTypes (C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\index.js:31:37)
    at getResult (C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\index.js:188:55)
    at getTopLevelDeclarations (C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\index.js:125:17)
    at Object.generateModuleDeclarationFile (C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\index.js:51:19)
    at Object.<anonymous> (C:\Users\*****\AppData\Roaming\npm\node_modules\dts-gen\bin\lib\run.js:58:24)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)

Node.js v18.13.0

Any help is appreciated and please don't hesitate to ask further questions if any information is missing.

Best regards

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant