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.
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.
Any help is appreciated and please don't hesitate to ask further questions if any information is missing.
Best regards