There's a bug in the script on our docs page: https://pnp.github.io/cli-microsoft365/user-guide/use-cli-api
spo web get should not be called with webUrl but with url
Also: it would be helpful if we added a note on that the project including it as a dependency should use ESM-modules.
For example: we could add an example package.json configuration for a node js app and instructions to set it up and run it.
There's a bug in the script on our docs page: https://pnp.github.io/cli-microsoft365/user-guide/use-cli-api
spo web getshould not be called withwebUrlbut withurlAlso: it would be helpful if we added a note on that the project including it as a dependency should use ESM-modules.
For example: we could add an example package.json configuration for a node js app and instructions to set it up and run it.