Nodejs error: invalid: inherits@2.0.0 / usr / lib / node_modules / inherits @ 2

It seems that I have two versions of inherits@2.0.0 , although when I tried to use npm dedupe, it did not delete the wrong version. How to fix it?

├── inherits@2.0.0 ├── inherits@2.0.0 (inherits @ 2) is invalid

> npm ERR! invalid: inherits@2.0.0 /usr/lib/node_modules/inherits@2
> npm ERR! not ok code 0
+4
source share
1 answer

I took the lung.

rm -rf thing into oblivion

Fur

+7
source

All Articles