Npm installation webpack error prompt: Maximum call stack size exceeded

git pull project, execute npm I report error, Maximum call stack size exceeded; Baidu said it is version problem, downgrade upgrade but still not, the last installation, found in the installation of webpack, prompted this error. Installing webpack is not a global installation. It is a dependent, npm i webpack-save-dev; for installing local projects. The current version of package.json is 4.16.0

.

an attempt was made to upgrade the downgrade method, but to no avail. Is it because of the webapck version?

does any great god know the reason for this?

Sep.28,2021

upgrade node, npm try


currently for installation dependency error, I first installed the webpack3.x version, after installing the 4.16.0 version, there is no error. There has been a downgraded node version before. Although the installation is successful, some dependent packages have a higher node version than the degraded one, so it is feasible to downgrade some dependent packages with low requirements for node versions.

Menu