vvakame / dtsm

The .d.ts manager
MIT License
98 stars 6 forks source link

'dtsm search' raises an error on Windows 10 #22

Closed tyru closed 7 years ago

tyru commented 7 years ago

I installed dtsm and ran dtsm init and dtsm search angular, after long run (about a minute), it raised the following stacktrace. I ran on Windows 10 and cmd.exe . If once dtsm search angular is executed, the next run is very fast response but the result is same.

C:\Users\tyru>dtsm search angular
fetching https://github.com/DefinitelyTyped/DefinitelyTyped.git
Error: stdout maxBuffer exceeded
    at Socket.<anonymous> (child_process.js:266:14)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at Pipe.onread (net.js:531:20)
tyru commented 7 years ago

sorry... I'm newbie and I didn't notice typings command replaced this tool. please ignore or close this.

vvakame commented 7 years ago

@tyru thank you for reporting! now, you should use @types packages. It supported by compiler native.

tyru commented 7 years ago

Thanks for info! I was struggling but finally get to it.

TypeScript 入門 + Express 再入門した