Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cls-bluebird dependency problem when using Webpack #10

@yoadsn

Description

@yoadsn

Hi,
We use Webpack to bundle our server-side code.
At the moment, the version of request-promise used by this SDK is 3 which has a problem with a dependency on cls-bluebird.
The error we get from the bundler is:

ERROR in ./node_modules/request-promise/lib/rp.js
Module not found: Error: Can't resolve 'cls-bluebird' in '/Users/--/--/node_modules/request-promise/lib'

This issue:
request/request-promise#91
Describes the cause, a workaround and a final fix in the 4 version of request-promise.

Are you able to upgrade the dependency to version 4 and resolve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions