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

jcosta33 picture jcosta33  路  3Comments

un-dres picture un-dres  路  3Comments

simonagren picture simonagren  路  3Comments

Holden15 picture Holden15  路  3Comments

pavan2920 picture pavan2920  路  3Comments