Search code examples
reactjsgraphqlnode-modulesprisma-graphql

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


I'm building a web app using GraphQL and React. When compiling the front-end/client I see the following errors:

ct

Is there something else I can provide to help debug this?

Thank you!


Solution

  • By the looks of it you are (or your build tool is) using hard-source-webpack-plugin. This is a bug the issue of which is here.

    One solution seems to be:

    rm -rf node_modules/.cache
    

    But it's hard to tell if this will help you.

    I would consult the plugin repo.