I stumbled upon this for while working on a project. We were seeing huge node_modules folders, and needed to change the directory when it should be found.
This should solve that issue.
You can set a env variable NODE_MODULES_PATH or if you don't it'll use the node_modules in your project.
I stumbled upon this for while working on a project. We were seeing huge
node_modules
folders, and needed to change the directory when it should be found.This should solve that issue.
You can set a
env
variableNODE_MODULES_PATH
or if you don't it'll use thenode_modules
in your project.