mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-28 06:46:24 +00:00
feat(docs): add guidance for using --linker isolated flag during Bun installation in monorepo setup
This commit is contained in:
@@ -89,9 +89,17 @@ First, clone the LifeForge monorepo to your local machine or your server. You ca
|
||||
Then, install the dependencies by running the following command:
|
||||
|
||||
<Code language="bash">
|
||||
{'cd lifeforge && bun install'}
|
||||
{'cd lifeforge && bun install --linker isolated'}
|
||||
</Code>
|
||||
|
||||
<Warning>
|
||||
### Using `--linker isolated`
|
||||
|
||||
By default, Bun uses a global cache for dependencies. However, in a monorepo setup like LifeForge, this can lead to issues with dependency resolution. To avoid these issues, we recommend using the `--linker isolated` flag when installing dependencies. This will ensure that each package in the monorepo has its own isolated set of dependencies to prevent phantom dependency issues.
|
||||
|
||||
When doing deployment on a server, make sure to always use the `--linker isolated` flag when running `bun install`.
|
||||
</Warning>
|
||||
|
||||
That's pretty much it for the installation of the system itself. Now, let's move on to the installation of the database.
|
||||
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user