graphql-compose-elasticsearch
graphql-compose-elasticsearch copied to clipboard
Startup issue
Any help would be great! node -v v10.0.0
[nodemon] starting ./node_modules/.bin/babel-node ./examples/elastic50/index.js
/Users/emorneau/git/graphql-compose-elasticsearch/node_modules/@babel/helper-plugin-utils/lib/index.js:72
throw Object.assign(err, {
^
Error: Requires Babel "^7.0.0-0", but was loaded with "6.24.1". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.
at throwVersionError (/Users/emorneau/git/graphql-compose-elasticsearch/node_modules/@babel/helper-plugin-utils/lib/index.js:65:11)
at Object.assertVersion (/Users/emorneau/git/graphql-compose-elasticsearch/node_modules/@babel/helper-plugin-utils/lib/index.js:13:11)
at _default (/Users/emorneau/git/graphql-compose-elasticsearch/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js:41:7)
at /Users/emorneau/git/graphql-compose-elasticsearch/node_modules/@babel/helper-plugin-utils/lib/index.js:19:12
at Function.memoisePluginContainer (/Users/emorneau/git/graphql-compose-elasticsearch/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:113:13)
at Function.normalisePlugin (/Users/emorneau/git/graphql-compose-elasticsearch/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:146:32)
at /Users/emorneau/git/graphql-compose-elasticsearch/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:184:30
at Array.map (
Try to remove ./node_modules
folder and reinstall all packages from scratch.
Better via yarn package manager.