2 id="getting-started-with-nodejs">Getting started with NodeJS<a class="headerlink" href="#getting-started-with-nodejs" title="Permanent link">&para;</a></h2>
<blockquote>
<p>Due to the way in which Node resolves ESM modules when you use selective imports in node you must include the <code>index.js</code> part of the path. Meaning an import like <code>import "@pnp/sp/webs"</code> in examples must be <code>import "@pnp/sp/webs/index.js"</code>. Root level imports such as <code>import { spfi } from "@pnp/sp"<