NPM not working. Cannot find module 'strip ansi'

后端 未结 8 2038
小蘑菇
小蘑菇 2021-01-02 10:43

I just downloaded node but npm is not working. whenever I use a npm comman I get Error: cannot find module \'strip-ansi\'.

8条回答
  •  长情又很酷
    2021-01-02 11:14

    just reinstall strip using npm install strip --save this kind of error occurs because some file may be corrupt in strip library if this will not work you can try also npm install you will solve this error.

提交回复
热议问题