I have a node application with a file package.jsondeclaring my dependencies.
I started npm installto install these deps in a local folder node_modules, and when I run my application everything works fine.
The problem is that I am trying to identify some new features by activating node REPL:
$ node
> require('hubot');
Error: Cannot find module 'hubot'
In REPL, he doesn't seem to know what to look inside node_modules. Is this the expected behavior or too weird?
source
share