我收到以下错误提示“无法冻结 ./node_modules/

I am getting the following errors saying 'Could not freeze ./node_modules/

我正在使用 GraphQL 和 React 构建网络应用程序。编译 front-end/client 时,我看到以下错误:

我还能提供其他帮助调试的东西吗?

谢谢!

看起来您(或您的构建工具)正在使用 hard-source-webpack-plugin. This is a bug the issue of which is here

One solution 好像是:

rm -rf node_modules/.cache

但很难说这是否对您有帮助。

我会参考插件仓库。