TypeScript

解決してない人発見

Ken published on
3 min, 518 words

gulpでcordova.d.tsをインストールしようと思ったんだけど、エラーが出た。
仕方ないのでtsdコマンドで直接試してみるか…とやってもだめ。

エラーはこんな感じ。

# gulp tsd [23:23:34] Using gulpfile ~/Project/gulpfile.js [23:23:34] Starting 'tsd'... [23:23:34] [gulp-tsd] execute command: reinstall [23:23:34] [gulp-tsd] config: ./tsd.json [23:23:34] [gulp-tsd] latest: true [23:23:34] [gulp-tsd] running... -> warning path reference not in index: plugins/BatteryStatus.d.ts -> warning path reference not in index: plugins/Camera.d.ts -> warning path reference not in index: plugins/Contacts.d.ts -> warning path reference not in index: plugins/Device.d.ts -> warning path reference not in index: plugins/DeviceMotion.d.ts -> warning path reference not in index: plugins/DeviceOrientation.d.ts -> warning path reference not in index: plugins/Dialogs.d.ts -> warning path reference not in index: plugins/FileSystem.d.ts -> warning path reference not in index: plugins/FileTransfer.d.ts -> warning path reference not in index: plugins/Globalization.d.ts -> warning path reference not in index: plugins/InAppBrowser.d.ts -> warning path reference not in index: plugins/Media.d.ts -> warning path reference not in index: plugins/MediaCapture.d.ts -> warning path reference not in index: plugins/NetworkInformation.d.ts -> warning path reference not in index: plugins/Push.d.ts -> warning path reference not in index: plugins/Splashscreen.d.ts -> warning path reference not in index: plugins/Vibration.d.ts -> warning path reference not in index: plugins/WebSQL.d.ts [23:23:34] [gulp-tsd] finish [23:23:34] Finished 'tsd' after 512 ms

Read More