graphql-kit / graphql-lodash

🛠 Data manipulation for GraphQL queries with lodash syntax
https://apis.guru/graphql-lodash/
MIT License
1.23k stars 48 forks source link

assertValidName.js:21 Uncaught ReferenceError: process is not defined #48

Open larebsyed opened 2 years ago

larebsyed commented 2 years ago

I get this error when I try to add this to my apollo client

SparkDragon commented 2 years ago

Same issue with Nuxt 3 when running nuxt generate

ShaneAlexGraham commented 2 years ago

I haven't fully tested this yet but I was able to get at least this error message to go away by adding the following to my package.json "resolutions": { "graphql": "^16.5.0" }, "overrides": { "graphql-lodash": { "graphql": "^16.5.0l" } }

I came across this issue while upgrading my react and apollo to the latest versions. react@18.1.0 @apollo/client@3.6.9