ReferenceError: process is undefined
Closed this issue · 0 comments
SKCrawford commented
The error: ReferenceError: process is undefined
The cause: Installing peer dependency graphql with the version provided in ra-data-opencrud's package.json.
"peerDependencies": {
"graphql": "^0.13.2", <------
"react-admin": "^2.3.0"
},
The fix: Install the peer dependency graphql with the latest version (currently ^14.3.1).
I don't guarantee that it works perfectly as there may be breaking changes between the major versions, but it at least resolves this specific error for me.