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•10mo ago
Use pnpm instead of npm
Want results from more Discord servers?
Add your server