【问题标题】:I am getting the following errors saying 'Could not freeze ./node_modules/我收到以下错误消息“无法冻结 ./node_modules/
【发布时间】:2020-06-17 13:20:22
【问题描述】:

我正在使用 GraphQL 和 React 构建一个 Web 应用程序。编译前端/客户端时,我看到以下错误:

我还能提供什么来帮助调试吗?

谢谢!

【问题讨论】:

    标签: reactjs graphql node-modules prisma-graphql


    【解决方案1】:

    从外观上看,您(或您的构建工具)正在使用hard-source-webpack-plugin。这是一个错误the issue of which is here

    One solution 好像是:

    rm -rf node_modules/.cache
    

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

    我会参考插件仓库。

    【讨论】:

    • 对于那些对rm -rf 格外谨慎的人:-)。 cd node_modules/.cache; rm -rf hard-source 为我工作。
    • 这是一个临时解决方案。它在第二个 webpack 之后再次发生。
    猜你喜欢
    • 2020-06-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-08-20
    • 2020-06-16
    • 1970-01-01
    • 2023-03-12
    • 1970-01-01
    相关资源
    最近更新 更多