Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] installing package dependencies when doing npm install <folder> #702

Closed
gko opened this issue Jan 18, 2020 · 2 comments
Closed
Labels
Awaiting Information further information is requested

Comments

@gko
Copy link

gko commented Jan 18, 2020

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

npm/npm#13734
npm/npm#20835

Thank you for your work ❤

@AlekseiZhabitenko
Copy link

This issue is still present

@shashank-brightness
Copy link

Hi any idea on why this was closed? or was it fixed somewhere else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Information further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants