# Unable to get NR to pick up dependancies

**URL:** <https://discourse.nodered.org/t/unable-to-get-nr-to-pick-up-dependancies/12052>\
**Category:** General\
**Created:** [10 June 2019 21:08 UTC](https://discourse.nodered.org/t/unable-to-get-nr-to-pick-up-dependancies/12052 "2019-06-10T21:08:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franco\_nogarin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/franco_nogarin/32/9208_2.png) [@franco\_nogarin](https://discourse.nodered.org/u/franco_nogarin)\
**Post date:** [10 June 2019 21:08 UTC](https://discourse.nodered.org/t/unable-to-get-nr-to-pick-up-dependancies/12052/1 "2019-06-10T21:08:03Z")

</div>

Hi all, Node developer newb here. My first nodes are meant to introduce custom nodejs modules to the NR system. but I seem to be unable to get node red to pickup on my node's dependencies. I have the following in my package.json in the root of the folder of my nodes code:

```auto
"dependencies": {
    "formidable": "^1.2.1",
    "replace-in-file": "^3.4.4",
    "dateformat": "^3.0.0",
    "mqtt": "^2.18.8",
    "socket.io": "^2.2.0",
    "protobufjs": "6.8.8"
  },

```

however, it never seems to install protobufjs and so if I put my node in a flow and deploy I get:

msg : error  
"Error: Cannot find module 'protobufjs'"

---

<div class="post-metadata">

**Author:** ![franco\_nogarin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/franco_nogarin/32/9208_2.png) [@franco\_nogarin](https://discourse.nodered.org/u/franco_nogarin)\
**Post date:** [10 June 2019 21:11 UTC](https://discourse.nodered.org/t/unable-to-get-nr-to-pick-up-dependancies/12052/2 "2019-06-10T21:11:19Z")

</div>

on my win7 pro box I have tried :  
stopping node-red  
From C:\Users\my\_username.node-red - npm uninstall e:\foo\bar\my\_node-red\_module  
then  
From C:\Users\my\_username.node-red - npm install e:\foo\bar\my\_node-red\_module

my package.json with dependencies is located at: e:\foo\bar\my\_node-red\_module\package.json
