What you were expecting:
React Admin should compile.
What happened instead:
React Admin failed to compile.
Steps to reproduce:
- Create a react-admin project with a graphql adapter.
- Build the project.
- Error outputted.
Other information:
I think this is because React Admin is relying on https://github.com/Kmaschta/graphql-ast-types at master which has since changed its name to graphql-ast-types-browser and therefore won't be installed by npm as graphql-ast-types.
Environment
- React-admin version: 2.4.1
- Last version that did not exhibit the issue (if applicable):
- React version: 16.5.0
- Browser: Chrome
- Stack trace (in case of a JS error):
./node_modules/ra-data-graphql-simple/esm/buildGqlQuery.js
Module not found: Can't resolve 'graphql-ast-types' in '/projects/app/node_modules/ra-data-graphql-simple/esm'
What you were expecting:
React Admin should compile.
What happened instead:
React Admin failed to compile.
Steps to reproduce:
Other information:
I think this is because React Admin is relying on https://github.com/Kmaschta/graphql-ast-types at
masterwhich has since changed its name tographql-ast-types-browserand therefore won't be installed by npm asgraphql-ast-types.Environment