microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 101 forks source link

Unexpected crash! Please log a bug with the commandline you specified. #113

Open infrarosso78 opened 5 years ago

infrarosso78 commented 5 years ago

dts-gen -m polymer-redux

(function (exports, require, module, filename, dirname) { import {get} from '../@polymer/polymer/lib/utils/path.js'; ^^^^^^ SyntaxError: Unexpected token import at createScript (vm.js:53:10) at Object.runInThisContext (vm.js:95:10) at Module._compile (module.js:543:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/usr/local/lib/node_modules/dts-gen/bin/lib/run.js:57:67)

mrdulin commented 5 years ago

+1

GitStorageOne commented 5 years ago

dts-gen -m oidc-provider Some help would be greatly appreciated.

jaxoncreed commented 5 years ago

@GitStorageOne Trying to do the exact same thing. I'll post if I find a solution.