Created
October 2, 2018 22:30
-
-
Save gwpantazes/56881eb7edd8ee02d9be9ecca47388c0 to your computer and use it in GitHub Desktop.
strapi install graphql plugin, error (hook:graphql) takes too long to load
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
georgep:~/Documents/workspace/strapiDemo$ strapi install graphql | |
[2018-10-02T22:27:49.418Z] debug Installation in progress... | |
[2018-10-02T22:27:49.420Z] debug Installing the plugin from npm registry. | |
[2018-10-02T22:27:54.319Z] debug Plugin successfully installed from npm registry. | |
[2018-10-02T22:27:54.319Z] debug Moving the `node_modules/strapi-plugin-graphql` folder to the `./plugins` folder. | |
[2018-10-02T22:27:54.331Z] info The plugin has been successfully installed. | |
georgep:~/Documents/workspace/strapiDemo$ strapi start | |
(node:44092) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. | |
(node:44092) UnhandledPromiseRejectionWarning: GraphQLError: Syntax Error: Expected Name, found } | |
at syntaxError (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/error/syntaxError.js:24:10) | |
at expect (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:1463:32) | |
at parseName (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:96:15) | |
at parseInputValueDef (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:920:14) | |
at many (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:1520:16) | |
at parseInputFieldsDefinition (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:1083:50) | |
at parseInputObjectTypeDefinition (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:1067:16) | |
at parseTypeSystemDefinition (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:736:16) | |
at parseDefinition (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:142:16) | |
at many (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:1523:16) | |
at parseDocument (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:113:18) | |
at Object.parse (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/node_modules/graphql/language/parser.js:48:10) | |
at Object.addPolymorphicUnionType (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/services/Types.js:149:8) | |
at Object.generateSchema (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/services/Schema.js:179:15) | |
at Function.initialize (/Users/georgep/Documents/workspace/strapiDemo/plugins/graphql/hooks/graphql/index.js:148:50) | |
at /usr/local/lib/node_modules/strapi/lib/hooks/index.js:19:29 | |
at after (/usr/local/lib/node_modules/strapi/lib/hooks/index.js:122:39) | |
at /usr/local/lib/node_modules/strapi/node_modules/lodash/lodash.js:9999:23 | |
at Strapi.once (/usr/local/lib/node_modules/strapi/lib/hooks/index.js:133:17) | |
at Object.onceWrapper (events.js:273:13) | |
at Strapi.emit (events.js:182:13) | |
at Strapi.EventEmitter.emit (domain.js:442:20) | |
at loadedModule.initialize.call.err (/usr/local/lib/node_modules/strapi/lib/hooks/index.js:32:12) | |
at _.forEach (/Users/georgep/Documents/workspace/strapiDemo/node_modules/strapi-hook-mongoose/lib/index.js:459:11) | |
at process._tickCallback (internal/process/next_tick.js:68:7) | |
(node:44092) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) | |
(node:44092) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. | |
[2018-10-02T22:28:06.430Z] debug ⛔️ Server wasn't able to start properly. | |
[2018-10-02T22:28:06.431Z] error (hook:graphql) takes too long to load | |
(hook:graphql) takes too long to load |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment