# What / Why I know this question was asked a handful of times, and I probably have an idea on why that is. But still, imagine you have a package «A» and it depends on a local package «B», that depends on a package «C». When I do `npm install ../B` from package «A», I expect `npm` to add package «C» to `node_modules` of a package «A». It is not the case. `yarn add ../B` however does add package «C» to `node_modules` of package «A». I don't think it's relevant but: - npm version: 6.12.1 - OS: macOS Catalina (10.15.2) ## References [https://github.com/npm/npm/issues/13734](https://github.com/npm/npm/issues/13734) [https://github.com/npm/npm/issues/20835](https://github.com/npm/npm/issues/20835) Thank you for your work ❤