I am on my VSCode terminal and when I try using npm install or to install any package, I get this error:
npm ERR! Cannot read properties of null (reading 'children')
I have cleared cache using: npm cache clear --force and have run npm install again and all still remains the same.
What can I do?
I came across a solution Here to downgrade the Npm by running this in terminal:
npm install -g [email protected]
And it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With