How specify dependencies


  • GNU/Linux

    in my package.json, I need to specify a dependency in my plugin so I do this plugin:

    "dependencies": {
    "node-schedule": "1.2.4"
    }

    But When I install my plugin I don't see the node-schedule folder in my node_modules folder. Anyone can help me?


  • Admin

    How did you "install" the plugin? npm install will install dependencies, a simple git clone will not. You will need to run npm install inside the plugin folder.


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.