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
Docs: How to initial install all modules in all packages in the workspace? #7910
Comments
Note: I tried also with latest
|
This sounds like intended behavior. Different package managers install to different locations in Workspaces. The dependencies you're looking for are likely in the If you start your development server or run a build, do your dependencies resolve? If so, that means your package manager is doing its job correctly and you can close this issue. |
I have dependencies in my workspace packages that need to be installed. If I try to build my workspace packages like I have to manually run The turbo documentation says that running either should install all deps for workspace packages, but it doesn't. It seems to be an issue with npm and yarn respectively instead of turbo based on my research so far, but the turbo docs are incorrect in claiming that it would. |
Via the document link
I only see it in the root, not each workspace package. Exception is |
Could you share a reproduction repo, along with the npm version you're using? |
This is quite vague, are you resolving the dependencies manually within workspaces? |
Running npm / yarn install in the respective dirs. |
@theogravity
this seems like a red herring and unrelated to your |
What is the improvement or update you wish to see?
I'm looking at https://turbo.build/repo/docs/handbook/package-installation and followed the instructions to just do an
npm install
, but none of my workspace packages have anode_modules
directory.Not sure what I'm doing wrong here. I'm using normal
npm
and mypackage.json
has aworkspaces
value of"packages/*"
and all my packages are in that dir.Is there any context that might help us understand?
I just want to recursively run
npm install
on all packages in my turbo monorepoDoes the docs page already exist? Please link to it.
https://turbo.build/repo/docs/handbook/package-installation
The text was updated successfully, but these errors were encountered: