Pnpjs: sp web 404 when web part is deployed

Created on 6 Nov 2019  路  2Comments  路  Source: pnp/pnpjs

"Error making HttpClient request in queryable: [404] "

The call works on localhost and on tenant site /layouts/15/workbench

Fails when I have deployed using the app catalogue.

console.log('sp ', sp.web.lists.get()); returns promise rejected

code answered question

All 2 comments

https://pnp.github.io/pnpjs/documentation/getting-started/#using-pnpsp-setup

Thanks @koltyakov ! Please close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jusper-dk picture jusper-dk  路  24Comments

baywet picture baywet  路  14Comments

saulpreciado picture saulpreciado  路  24Comments

Prakash-Ramasamy picture Prakash-Ramasamy  路  33Comments

enti333 picture enti333  路  14Comments