Skip to content

Commit 5502a39

Browse files
committed
README: Add info about npm requiring path (openhab/openhab-addons#17022)
Signed-off-by: Florian Hotze <[email protected]>
1 parent 9ad5b28 commit 5502a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ Follow these steps to create your own library (it's called a CommonJS module):
14831483
```
14841484
14851485
4. Tar it up by running `npm pack` from your library's folder.
1486-
5. Install it by running `npm install <name>-<version>.tgz` from the `automation/js` folder.
1486+
5. Install it by running `npm install <path-to-library-folder>/<name>-<version>.tgz` from the `automation/js` folder.
14871487
6. After you've installed it with `npm`, you can continue development of the library inside `node_modules`.
14881488
14891489
It is also possible to upload your library to [npm](https://npmjs.com) to share it with other users.

0 commit comments

Comments
 (0)