The react-scripts package provided by Create React App requires a dependency: "webpack": "4.41.5" Don't try to install it manually: your package manager does it automatically. However, a different

Error on this issue is inconsistent with the version number webpack

From the above chart we can see the first pink box it needs version is 4.41.5, and 1.15.0 below this box is the pink version

So we uninstall webpack

npm un webpack -g

npm un webpack-cli -g

After reinstalling the uninstalled

npm i [email protected] -g version number

npm i webpack-cli -g

After executing the above command

Use webpack -v check

Appears 4.41.5 OK, if not to resume downloads

The above are global installed, find it troublesome

npm start running then OK

Above reference:    https://blog.csdn.net/muzi190/article/details/84108714

Continue to report this error, then try to continue with the next step (since I was stuck below, get a long time, because all the English level is not high)

According to the above error prompt only path to this folder can be deleted OK (you may have never quite found, reported that the deleted ha ha!)

 

Guess you like

Origin www.cnblogs.com/zqxi/p/12498437.html