node. JS could not find a workaround for this module of XXX.
Come in order.
1. Check if the spelling is wrong.
2. This module is written by itself, yes. Check to see if the path is correct.
3. If the module is imported. Use the NPM List command to output this module. If not, install it (Nodejs in the Total folder, enter NPM install xxxx)
4. Also note that the Global module installation directory defaults to users/user/node_modules below. And your project reads the module is your installation directory (it is possible that the two directories are different). So sometimes, there is no module, after the installation, or continue to report the error of the module can not be found
The way to do this is to use NPM to output the path of your installation module, to find out the current project's read path, copy the corresponding module in the past
node. JS could not find the XXX module solution