How to install a npm package?

I'm trying to build a chrome extension by using Plasmo, after initialize a project, and I installed other packages on npmjs. Such as npm i jwt-decode. But never works, I got the error like npm ERR! Cannot read properties of null (reading 'matches') or npm ERR! Cannot read properties of null (reading 'edgesOut'). Could anyone help? Thanks.
1 Reply
Konata
Konata•14mo ago
Use pnpm instead of npm

Did you find this page helpful?