I've created my first NodeJS module using lodash
. When I install my module using npm i mymodule --save
and run my index.js
script using require('lodash')
I get an error with a sub module...
Error : Error: Cannot find module 'lodash'
lodash
is well installed but not in the root directory, in the modules directory...