Cannot read property '_handle' of undefined

(Anuj Singh) #1

My dependencies are not working

(Markus Tacker) #2

Please provide your package.json and the complete logfile.

(Anuj Singh) #3

@coderbyheart thnx for replying


  "name": "demo-map-testing",
  "version": "3.3.1",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  "author": "anuj singh",
  "license": "MIT",
  "bundledDependencies": [
  "dependencies": {
    "node-libcurl": "^1.3.3"

I want to use node-libcurl inside my npm package but it will show error when i using it

If i am remove the node-libcurl it works fine

(Markus Tacker) #4

Ok, I need a little bit more info.

Which command did you run when the error happened?

(Anuj Singh) #5

thanks @coderbyheart
When I importing my package in ionic framework along with node-libcurl as a dependency in my npm package it gives error

Cannot read property โ€˜_handleโ€™ of undefined

  • I create a npm package and using in ionic as a provider
  • other functionalities are working fine when i add node-libcurl module in my package and then use it then it gives error

(Markus Tacker) #6

Iโ€™m not an ionic expert, but as far as I know it is a frontend framework, and you cannot use modules in ionic which are only meant to be run in node.js.

(Anuj Singh) #7

thanx @coderbyheart
one last thing can i use with the angular

(Markus Tacker) #8

No, you cannot use a node.js module with the frontend framework Angular.

(system) #9

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.