From db142290c19c7fef5eb8c6e8ea85e7fe1112ebae Mon Sep 17 00:00:00 2001 From: Deborah Date: Tue, 27 Dec 2022 01:25:14 +0000 Subject: [PATCH] Update testing.md --- _snippets/integrations/creating-nodes/testing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_snippets/integrations/creating-nodes/testing.md b/_snippets/integrations/creating-nodes/testing.md index 21019ca13..87e1e2f9b 100644 --- a/_snippets/integrations/creating-nodes/testing.md +++ b/_snippets/integrations/creating-nodes/testing.md @@ -12,13 +12,13 @@ You can test your node as you build it by running it in a local n8n instance. ``` 3. Install the node into your local n8n instance: ```shell - # In the directory where you installed n8n + # In the nodes directory within your n8n installation # node-package-name is the name from the package.json npm link ``` !!! note "Check your directory" - Make sure you run `npm link ` in the main directory where you installed n8n. This is probably in the `node_modules` directory within your Node.js installation, if you installed n8n globally. + Make sure you run `npm link ` in the nodes directory within your n8n installation. This is probably something like `~/.n8n/nodes/node_modules/` 4. Start n8n: ``` @@ -27,4 +27,4 @@ You can test your node as you build it by running it in a local n8n instance. 5. Open n8n in your browser. You should see your nodes when you search for them in the nodes panel. !!! note "Node names" - Make sure you search using the node name, not the package name. For example, if your npm package name is `n8n-nodes-weather-nodes`, and the package contains nodes named `rain`, `sun`, `snow`, you should search for `rain`, not `weather-nodes`. \ No newline at end of file + Make sure you search using the node name, not the package name. For example, if your npm package name is `n8n-nodes-weather-nodes`, and the package contains nodes named `rain`, `sun`, `snow`, you should search for `rain`, not `weather-nodes`.