I'm trying to use @pnp/sp with SPFx like shown on pnp GitHub page:

sp.web.select("Title").get().then(w => {
    console.log("title: " + w.Title);

When compiling the following TypeScript error is thrown: Property 'select' does not exist on type 'Web'

  • Which version of pnp js you are using? try installing it again using npm i @pnp/sp – Ganesh Sanap Oct 17 at 7:18

Your Answer


Browse other questions tagged or ask your own question.