Atom, script package, and local node_modules


#1

I must be doing the most beginning thing ever.

I have a little nodejs app, and I installed a variety of packages etc.

if I do:
cd ~/project/test
atom .
open a new file
var bcrypt=require(‘bcrypt’)
then try to run it, it tells me it can’t find the module.

Is there a reason it can’t find local node_modules vs global only?

I tried google for 20 minutes and couldn’t find what I bet is the most obvious answer :slight_smile: