Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Littauer <richard.littauer@gmail.com>2015-03-04 22:59:40 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-03-05 12:26:43 +0300
commit903bdd105b205d6e45d3a2ab83eea8e4071e9aeb (patch)
treefb39d4bbb55f970b78dbbc8822a8e059988e54d2
parent42c605c7b401f603c32ea70427e1a7666adeafd9 (diff)
doc: add note about package name
In case anyone doesn't know that `node-redis` is called `redis`. Also added a period that was missing.
-rw-r--r--doc/cli/npm-link.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/cli/npm-link.md b/doc/cli/npm-link.md
index a48fb9778..b6d0c143a 100644
--- a/doc/cli/npm-link.md
+++ b/doc/cli/npm-link.md
@@ -38,7 +38,8 @@ For example:
npm link redis # link-install the package
Now, any changes to ~/projects/node-redis will be reflected in
-~/projects/node-bloggy/node_modules/node-redis/
+~/projects/node-bloggy/node_modules/node-redis/. Note that the link should
+be to the package name, not the directory name for that package.
You may also shortcut the two steps in one. For example, to do the
above use-case in a shorter way: