I noticed when you run the latest version of the CLI you are getting an output like this when executing commands.
(node:18312) Warning: Accessing non-existent property '_theme' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)


Have you updated dependencies by executing npm i after pulling the latest source?
Made a fresh installation yesterday on a customers device with this result:

Noticed the same error today on my dev environment.
Could you please try installing @next to see if the issue still persists?
Uninstalled it and installed it with @next. Same issue
Working for me in Docker.

What does node -v return?
Just discovered the same issue on my end with version 3.3.0 and 3.4.0. Think it might be related to node version 14. Going to test it out on version 12.
Node version 12 on Windows btw, seems to fix it. Don't have the issue when running it on macOS. Might be Windows related.
Latest beta on Linux (alpine) using Node@14 is also working fine, so does indeed seem to be only Windows related.

Not sure if this is entirely Windows related, I just got the _theme error on Ubuntu 20.04 LTS in WSL2.
@pnp/[email protected]
node@14

Correct: as I mentioned, the issue is visible in v3.3.0 on Node@14 on al OSes.
Can confirm this. Issue fixed in next release. Closing the issue.
Most helpful comment
Can confirm this. Issue fixed in next release. Closing the issue.