Today, when I was crazy about writing code, I got the error of cannot find module ‘xxx’. Moreover, all the dependencies had been installed before, so I used the following code to install them all again, and then it was OK:
cnpm instal
Today, when I was crazy about writing code, I got the error of cannot find module ‘xxx’. Moreover, all the dependencies had been installed before, so I used the following code to install them all again, and then it was OK:
cnpm instal