Skip to content

getting error Uncaught (in promise) TypeError: Cannot read property 'apply' of undefined #72

Description

@nsharma1989

Hi I am using webpack with target: web

I see this error on running
var options = { url: url, method: method, insecure: ignoreSSL }; curl.request(options, function (err, response) { if (err) throw err; console.log(response); });

bundle.js:63366 Uncaught (in promise) TypeError: Cannot read property 'apply' of undefined at ./node_modules/curlrequest/spawn.js.module.exports (bundle.js:63366) at Object../node_modules/curlrequest/index.js.exports.request (bundle.js:63181) at bundle.js:107092 at step (bundle.js:107048) at Object.next (bundle.js:107029) at bundle.js:107023 at new Promise (<anonymous>) at ./service/Service.js.__awaiter (bundle.js:107019) at sendCurl (bundle.js:107084) at Object.<anonymous> (bundle.js:107186)

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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