 export from @pnp/sp to add the required helper methods</span>
<span class="kr">import</span> <span class="p">{</span> <span class="nx">sp</span><span class="p">,</span> <span class="nx">SPRequestExecutorClient</span> <span class="p">}</span> <span class="nx">from</span> <span class="s2">&quot;@pnp/sp-addinhelpers&quot;</span><span class="p">;</span>

<span class="c1">// this only needs to be done once within your application</span>
<span class="nx">sp</span><span class="p">.</span><span class="nx">setup</s