| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 548137f commit 884755f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -98,10 +98,9 @@ may be necessary to install a specific version of package `bar`. The `bar` | |||
| 98 | 98 | package may itself have dependencies, and in some cases, these may even collide | |
| 99 | 99 | or form cyclic dependencies. | |
| 100 | 100 | ||
| 101 | - Since Node.js looks up the `realpath` of any modules it loads (that is, | ||
| 102 | - resolves symlinks), and then looks for their dependencies in the `node_modules` | ||
| 103 | - folders as described [here](#modules_loading_from_node_modules_folders), this | ||
| 104 | - situation is very simple to resolve with the following architecture: | ||
| 101 | + Because Node.js looks up the `realpath` of any modules it loads (that is, it | ||
| 102 | + resolves symlinks) and then [looks for their dependencies in `node_modules` folders](#modules_loading_from_node_modules_folders), | ||
| 103 | + this situation can be resolved with the following architecture: | ||
| 105 | 104 | ||
| 106 | 105 | * `/usr/lib/node/foo/1.2.3/`: Contents of the `foo` package, version 1.2.3. | |
| 107 | 106 | * `/usr/lib/node/bar/4.3.2/`: Contents of the `bar` package that `foo` depends | |
| Back | FazBrowse Home | New Git URL |
0 commit comments