|
@@ -1363,11 +1363,9 @@
|
|
|
found" errors.
|
|
|
</para></listitem>
|
|
|
<listitem><para>
|
|
|
- In order to support adding
|
|
|
- Node.js modules, a
|
|
|
- <filename>nodejs</filename> recipe must be part of your
|
|
|
- SDK in order to provide Node.js
|
|
|
- itself.
|
|
|
+ In order to support adding Node.js modules, a
|
|
|
+ <filename>nodejs</filename> recipe must be part
|
|
|
+ of your SDK.
|
|
|
</para></listitem>
|
|
|
</itemizedlist>
|
|
|
</note>
|
|
@@ -1376,14 +1374,15 @@
|
|
|
<para>
|
|
|
As mentioned earlier, you can also add Node.js modules
|
|
|
directly from a repository or local source tree.
|
|
|
- To add modules this way, use <filename>devtool add</filename> in
|
|
|
- the following form:
|
|
|
+ To add modules this way, use <filename>devtool add</filename>
|
|
|
+ in the following form:
|
|
|
<literallayout class='monospaced'>
|
|
|
$ devtool add https://github.com/diversario/node-ssdp
|
|
|
</literallayout>
|
|
|
- In this example, <filename>devtool</filename> fetches the specified
|
|
|
- Git repository, detects that the code is Node.js code, fetches
|
|
|
- dependencies using <filename>npm</filename>, and sets
|
|
|
+ In this example, <filename>devtool</filename> fetches the
|
|
|
+ specified Git repository, detects the code as Node.js
|
|
|
+ code, fetches dependencies using <filename>npm</filename>, and
|
|
|
+ sets
|
|
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>
|
|
|
accordingly.
|
|
|
</para>
|