cloudant / nodejs-cloudant

Cloudant Node.js client library
Apache License 2.0
255 stars 90 forks source link

Error in webpack compilation for types (request) latest release 3.0.0 #350

Closed huineng closed 5 years ago

huineng commented 6 years ago

Please read these guidelines before opening an issue.

Bug Description

1. Steps to reproduce and the simplest code sample possible to demonstrate the issue

2. What you expected to happen

webpack compilation always worked utill i installed a few hours ago the latest release 3.0.0

3. What actually happened

ERROR in [at-loader] ./node_modules/@cloudant/cloudant/types/index.d.ts:16:8
    TS1192: Module '"/Users/guyhuinen/Documents/workspace/leap/leap/root/node_modules/@types/request/index"'has no default export.

Environment details

node 11.2.0 npm 6.1
typescript 3.1.6

using "request": "^2.88.0",

smithsz commented 5 years ago

Thanks @huineng. We've fixed this in version 3.0.1.