npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Cannot read property '_handle' of undefined

My dependencies are not working

Please provide your package.json and the complete logfile.

@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

Ok, I need a little bit more info.

Which command did you run when the error happened?

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’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.

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

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