create-react-appnpm install webpack (webpack失败 . 其他软件包安装工作)给出"Maximum call stack size exceeded"错误 . 尝试“ npm cache clean --force ”,删除了package-lock,在npm( npm install ), npm rebuild ,升级节点和npm上重新安装到最近的稳定版本(节点:8.12.0和NPM:6.4.1) . 尽管如此,错误仍然存在 .

create-react-app demo-app 给出了以下错误

Creating a new React app in D:\Projects\demo-app.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\mkatti\AppData\Roaming\npm-cache\_logs\2018-10-08T07_21_50
_853Z-debug.log

Aborting installation.
  npm install --save --save-exact --loglevel error react react-dom react-scripts
 has failed.

Deleting generated file... package.json
Deleting demo-app / from D:\Projects
Done.

npm install webpack --save-dev 给出以下错误

npm WARN registry Using stale data from https://registry.npmjs.org/ because the
host is inaccessible -- are you offline?
npm WARN registry Using stale package data from https://registry.npmjs.org/ due
to a request error during revalidation.
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\mkatti\AppData\Roaming\npm-cache\_logs\2018-10-08T07_28_07
_840Z-debug.log