Previously used node version is too low, incompatible with webpack4.x, need to upgrade, online search of many methods, found in Windows does not work
The tutorials we found all say that a module named N under the global installation node is dedicated to version management, but unfortunately it is not installed under Windows
Note: N modules also do not support the win system, Linux, Mac computers can be installed
Then change the method, download a new stable version of the installation package on node website to replace the previous
Note: (Install to install to previous version of the installation path to overwrite, if not clear the previous version of the installation path, can be viewed at the command line, see)
At this point the installation is complete, and some tutorials also manually updated NPM version, in fact, is not required, install the new version of node after NPM automatically updated
Windows upgrade node