Created
October 3, 2018 16:43
-
-
Save gwpantazes/cef99ea936133d1eeefc763aaad2a42e to your computer and use it in GitHub Desktop.
Reproducing GraphQL plugin strapi start error with new project
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@georgepemaclap:~/Documents/workspace$ mongo | |
MongoDB shell version v4.0.2 | |
connecting to: mongodb://127.0.0.1:27017 | |
MongoDB server version: 4.0.2 | |
Server has startup warnings: | |
2018-10-02T19:33:34.766-0500 I CONTROL [initandlisten] | |
2018-10-02T19:33:34.766-0500 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. | |
2018-10-02T19:33:34.766-0500 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. | |
2018-10-02T19:33:34.766-0500 I CONTROL [initandlisten] | |
--- | |
Enable MongoDB's free cloud-based monitoring service, which will then receive and display | |
metrics about your deployment (disk utilization, CPU, operation statistics, etc). | |
The monitoring data will be available on a MongoDB website with a unique URL accessible to you | |
and anyone you share the URL with. MongoDB may use this information to make product | |
improvements and to suggest MongoDB products and deployment options to you. | |
To enable free monitoring, run the following command: db.enableFreeMonitoring() | |
To permanently disable this reminder, run the following command: db.disableFreeMonitoring() | |
--- | |
> quit() | |
georgep@georgepemaclap:~/Documents/workspace$ npm install strapi@alpha -g | |
/usr/local/bin/strapi -> /usr/local/lib/node_modules/strapi/bin/strapi.js | |
+ [email protected] | |
updated 1 package in 8.417s | |
georgep@georgepemaclap:~/Documents/workspace$ strapi new strapiGraphQlPluginErrorWithNewProject | |
🚀 Start creating your Strapi application. It might take a minute, please take a coffee ☕️ | |
Lets configurate the connection to your database: | |
? Choose your main database: MongoDB (recommended) | |
? Database name: strapiGraphQlPluginErrorWithNewProject | |
? Host: 127.0.0.1 | |
? +srv connection: false | |
? Port (It will be ignored if you enable +srv): 27017 | |
? Username: | |
? Password: | |
? Authentication database (Maybe "admin" or blank): | |
? Enable SSL connection: false | |
⏳ Testing database connection... | |
The app has been connected to the database successfully! | |
🏗 Application generation: | |
✔ Copy dashboard | |
✔ Install plugin settings-manager. | |
✔ Install plugin content-type-builder. | |
✔ Install plugin content-manager. | |
✔ Install plugin users-permissions. | |
✔ Install plugin email. | |
✔ Install plugin upload. | |
✔ Link strapi dependency to the project. | |
👌 Your new application strapiGraphQlPluginErrorWithNewProject is ready at /Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject. | |
⚡️ Change directory: | |
$ cd strapiGraphQlPluginErrorWithNewProject | |
⚡️ Start application: | |
$ strapi start | |
georgep@georgepemaclap:~/Documents/workspace$ cd strapiGraphQlPluginErrorWithNewProject | |
georgep@georgepemaclap:~/Documents/workspace/strapiGraphQlPluginErrorWithNewProject$ strapi start | |
(node:8472) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. | |
(node:8472) DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use collection.countDocuments or collection.estimatedDocumentCount instead | |
[2018-10-03T16:39:55.366Z] info Time: Wed Oct 03 2018 11:39:55 GMT-0500 (Central Daylight Time) | |
[2018-10-03T16:39:55.367Z] info Launched in: 2036 ms | |
[2018-10-03T16:39:55.367Z] info Environment: development | |
[2018-10-03T16:39:55.367Z] info Process PID: 8472 | |
[2018-10-03T16:39:55.367Z] info Version: 3.0.0-alpha.14.2 (node v10.11.0) | |
[2018-10-03T16:39:55.367Z] info To shut down your server, press <CTRL> + C at any time | |
[2018-10-03T16:39:55.367Z] info ☄️ Admin panel: http://localhost:1337/admin | |
[2018-10-03T16:39:55.367Z] info ⚡️ Server: http://localhost:1337 | |
[2018-10-03T16:39:55.383Z] debug HEAD index.html (11 ms) | |
[2018-10-03T16:39:55.385Z] info ⏳ Opening the admin panel... | |
[2018-10-03T16:39:55.747Z] debug GET index.html (3 ms) | |
[2018-10-03T16:39:55.793Z] debug GET vendor.dll.js (4 ms) | |
[2018-10-03T16:39:55.793Z] debug GET main.js (2 ms) | |
[2018-10-03T16:39:56.036Z] debug GET plugins.json (3 ms) | |
[2018-10-03T16:39:56.070Z] debug GET main.js (6 ms) | |
[2018-10-03T16:39:56.071Z] debug GET main.js (6 ms) | |
[2018-10-03T16:39:56.071Z] debug GET main.js (5 ms) | |
[2018-10-03T16:39:56.071Z] debug GET main.js (4 ms) | |
[2018-10-03T16:39:56.072Z] debug GET main.js (4 ms) | |
[2018-10-03T16:39:56.072Z] debug GET main.js (3 ms) | |
[2018-10-03T16:39:56.333Z] debug GET /users-permissions/init (11 ms) | |
[2018-10-03T16:39:56.414Z] debug GET /content-type-builder/autoReload (3 ms) | |
[2018-10-03T16:39:56.415Z] debug GET /user/me (2 ms) | |
[2018-10-03T16:39:56.524Z] debug GET /settings-manager/autoReload (3 ms) | |
[2018-10-03T16:39:56.525Z] debug GET /user/me (2 ms) | |
[2018-10-03T16:39:56.528Z] debug GET index.html (2 ms) | |
[2018-10-03T16:39:56.846Z] debug GET /content-type-builder/autoReload (27 ms) | |
[2018-10-03T16:39:56.869Z] debug GET /settings-manager/autoReload (3 ms) | |
[2018-10-03T16:39:56.907Z] debug GET /users-permissions/init (5 ms) | |
[2018-10-03T16:39:56.975Z] debug GET /admin/gaConfig (1 ms) | |
[2018-10-03T16:39:56.977Z] debug GET /admin/strapiVersion (1 ms) | |
[2018-10-03T16:39:56.978Z] debug GET /admin/currentEnvironment (1 ms) | |
[2018-10-03T16:39:56.980Z] debug GET /admin/layout (1 ms) | |
[2018-10-03T16:39:57.065Z] debug GET bd03a2cc277bbbc338d464e679fe9942.woff2 (2 ms) | |
[2018-10-03T16:39:57.280Z] debug GET 0bd35bad03d09ca61ac6cce225112e36.svg (2 ms) | |
[2018-10-03T16:39:57.288Z] debug GET cccb897485813c7c256901dbca54ecf2.woff2 (4 ms) | |
[2018-10-03T16:39:57.288Z] debug GET 8b4f872c5de19974857328d06d3fe48f.woff2 (3 ms) | |
[2018-10-03T16:39:57.289Z] debug GET af7ae505a9eed503f8b8e6982036873e.woff2 (3 ms) | |
[2018-10-03T16:39:57.289Z] debug GET 33d5f0d956f3fc30bc51f81047a2c47d.woff2 (2 ms) | |
[2018-10-03T16:39:57.342Z] debug GET 2ff0049a00e47b56bffc059daf9be78b.png (2 ms) | |
[2018-10-03T16:39:58.153Z] info File changed: /Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/users-permissions/config/actions.json | |
[2018-10-03T16:40:24.731Z] debug POST /auth/local/register (121 ms) | |
[2018-10-03T16:40:24.782Z] debug GET /content-type-builder/autoReload (6 ms) | |
[2018-10-03T16:40:24.782Z] debug GET /settings-manager/autoReload (4 ms) | |
[2018-10-03T16:40:24.841Z] debug GET 0.1e490e0eaa7741fecf9f.chunk.js (1 ms) | |
[2018-10-03T16:40:24.848Z] debug GET ac7d0ef8528ed4230148886fe1a21b3b.png (4 ms) | |
[2018-10-03T16:40:24.851Z] debug GET c9cbbdc3762c340d5d37073a54971487.woff2 (5 ms) | |
[2018-10-03T16:40:24.858Z] debug GET /content-manager/models (10 ms) | |
[2018-10-03T16:40:25.013Z] debug GET 20001789a249c0d8d721531434ce02ba.png (8 ms) | |
[2018-10-03T16:40:25.013Z] debug GET f4b83ccf7e9e7f44b60b79a9a2a7be90.png (7 ms) | |
[2018-10-03T16:40:25.013Z] debug GET 85f4e87cbdf8d922994c47a1356a856e.png (6 ms) | |
[2018-10-03T16:40:25.014Z] debug GET 3c2fd7a5298d52578097b7258362d751.png (5 ms) | |
[2018-10-03T16:40:25.014Z] debug GET cbd0516e7c1ab24d5c0a55a6ad0f635d.png (5 ms) | |
[2018-10-03T16:40:25.014Z] debug GET c995503babdc2069f2d5f440b36771a1.png (3 ms) | |
[2018-10-03T16:40:25.025Z] debug GET 80f6811f6c30735dab68a01372d8b78f.woff2 (4 ms) | |
[2018-10-03T16:40:25.025Z] debug GET 4eb103b4d12be57cb1d040ed5e162e9d.woff2 (3 ms) | |
[2018-10-03T16:40:25.026Z] debug GET e89e581cc335503916d3001c717e40b2.png (3 ms) | |
^C | |
georgep@georgepemaclap:~/Documents/workspace/strapiGraphQlPluginErrorWithNewProject$ strapi install graphql | |
[2018-10-03T16:40:42.295Z] debug Installation in progress... | |
[2018-10-03T16:40:42.296Z] debug Installing the plugin from npm registry. | |
[2018-10-03T16:40:48.945Z] debug Plugin successfully installed from npm registry. | |
[2018-10-03T16:40:48.945Z] debug Moving the `node_modules/strapi-plugin-graphql` folder to the `./plugins` folder. | |
[2018-10-03T16:40:48.956Z] info The plugin has been successfully installed. | |
georgep@georgepemaclap:~/Documents/workspace/strapiGraphQlPluginErrorWithNewProject$ strapi start | |
Query files | |
Query role | |
Query roles | |
Mutation createRole | |
Mutation updateRole | |
Mutation deleteRole | |
Mutation upload | |
(node:8511) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. | |
(node:8511) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead. | |
(node:8511) DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use collection.countDocuments or collection.estimatedDocumentCount instead | |
(node:8511) DeprecationWarning: collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead. | |
[2018-10-03T16:41:36.294Z] info Time: Wed Oct 03 2018 11:41:36 GMT-0500 (Central Daylight Time) | |
[2018-10-03T16:41:36.295Z] info Launched in: 2476 ms | |
[2018-10-03T16:41:36.295Z] info Environment: development | |
[2018-10-03T16:41:36.295Z] info Process PID: 8511 | |
[2018-10-03T16:41:36.295Z] info Version: 3.0.0-alpha.14.2 (node v10.11.0) | |
[2018-10-03T16:41:36.295Z] info To shut down your server, press <CTRL> + C at any time | |
[2018-10-03T16:41:36.295Z] info ☄️ Admin panel: http://localhost:1337/admin | |
[2018-10-03T16:41:36.295Z] info ⚡️ Server: http://localhost:1337 | |
[2018-10-03T16:41:36.311Z] debug HEAD index.html (11 ms) | |
[2018-10-03T16:41:36.314Z] info ⏳ Opening the admin panel... | |
[2018-10-03T16:41:36.574Z] debug GET index.html (4 ms) | |
[2018-10-03T16:41:36.595Z] debug GET vendor.dll.js (4 ms) | |
[2018-10-03T16:41:36.596Z] debug GET main.js (3 ms) | |
[2018-10-03T16:41:36.834Z] debug GET plugins.json (3 ms) | |
[2018-10-03T16:41:36.868Z] debug GET main.js (10 ms) | |
[2018-10-03T16:41:36.868Z] debug GET main.js (9 ms) | |
[2018-10-03T16:41:36.868Z] debug GET main.js (8 ms) | |
[2018-10-03T16:41:36.869Z] debug GET main.js (8 ms) | |
[2018-10-03T16:41:36.869Z] debug GET main.js (5 ms) | |
[2018-10-03T16:41:36.870Z] debug GET main.js (4 ms) | |
[2018-10-03T16:41:37.165Z] debug GET /users-permissions/init (13 ms) | |
[2018-10-03T16:41:37.243Z] debug GET /content-type-builder/autoReload (5 ms) | |
[2018-10-03T16:41:37.349Z] debug GET /settings-manager/autoReload (4 ms) | |
[2018-10-03T16:41:37.441Z] debug GET /content-manager/models (7 ms) | |
[2018-10-03T16:41:37.477Z] debug GET /admin/gaConfig (1 ms) | |
[2018-10-03T16:41:37.479Z] debug GET /admin/strapiVersion (1 ms) | |
[2018-10-03T16:41:37.481Z] debug GET /admin/currentEnvironment (1 ms) | |
[2018-10-03T16:41:37.483Z] debug GET /admin/layout (1 ms) | |
[2018-10-03T16:41:37.489Z] debug GET /content-type-builder/autoReload (18 ms) | |
[2018-10-03T16:41:37.490Z] debug GET /settings-manager/autoReload (17 ms) | |
[2018-10-03T16:41:37.491Z] debug GET bd03a2cc277bbbc338d464e679fe9942.woff2 (5 ms) | |
[2018-10-03T16:41:37.557Z] debug GET 0.1e490e0eaa7741fecf9f.chunk.js (3 ms) | |
[2018-10-03T16:41:37.705Z] debug GET ac7d0ef8528ed4230148886fe1a21b3b.png (5 ms) | |
[2018-10-03T16:41:37.705Z] debug GET c9cbbdc3762c340d5d37073a54971487.woff2 (4 ms) | |
[2018-10-03T16:41:37.705Z] debug GET af7ae505a9eed503f8b8e6982036873e.woff2 (3 ms) | |
[2018-10-03T16:41:37.706Z] debug GET 8b4f872c5de19974857328d06d3fe48f.woff2 (4 ms) | |
[2018-10-03T16:41:37.706Z] debug GET cccb897485813c7c256901dbca54ecf2.woff2 (3 ms) | |
[2018-10-03T16:41:37.719Z] debug GET /favicon.ico (0 ms) | |
[2018-10-03T16:41:37.762Z] debug GET 20001789a249c0d8d721531434ce02ba.png (6 ms) | |
[2018-10-03T16:41:37.763Z] debug GET f4b83ccf7e9e7f44b60b79a9a2a7be90.png (5 ms) | |
[2018-10-03T16:41:37.763Z] debug GET 3c2fd7a5298d52578097b7258362d751.png (5 ms) | |
[2018-10-03T16:41:37.763Z] debug GET 85f4e87cbdf8d922994c47a1356a856e.png (4 ms) | |
[2018-10-03T16:41:37.763Z] debug GET cbd0516e7c1ab24d5c0a55a6ad0f635d.png (3 ms) | |
[2018-10-03T16:41:37.764Z] debug GET c995503babdc2069f2d5f440b36771a1.png (3 ms) | |
[2018-10-03T16:41:37.771Z] debug GET 80f6811f6c30735dab68a01372d8b78f.woff2 (3 ms) | |
[2018-10-03T16:41:37.771Z] debug GET 4eb103b4d12be57cb1d040ed5e162e9d.woff2 (2 ms) | |
[2018-10-03T16:41:37.774Z] debug GET e89e581cc335503916d3001c717e40b2.png (3 ms) | |
[2018-10-03T16:41:38.510Z] info File changed: /Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/config/generated/schema.graphql | |
[2018-10-03T16:41:38.511Z] info File changed: /Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/users-permissions/config/actions.json | |
[2018-10-03T16:41:40.656Z] debug GET 2.3ebe93eba876aad388cf.chunk.js (2 ms) | |
[2018-10-03T16:41:40.670Z] debug GET /admin/currentEnvironment (1 ms) | |
[2018-10-03T16:41:40.672Z] debug GET /admin/plugins (5 ms) | |
^C | |
georgep@georgepemaclap:~/Documents/workspace/strapiGraphQlPluginErrorWithNewProject$ strapi generate:api point | |
[2018-10-03T16:42:04.414Z] info Generated a new api `point` at `./api/`. | |
georgep@georgepemaclap:~/Documents/workspace/strapiGraphQlPluginErrorWithNewProject$ strapi start | |
(node:8523) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. | |
(node:8523) UnhandledPromiseRejectionWarning: GraphQLError: Syntax Error: Expected Name, found } | |
at syntaxError (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/error/syntaxError.js:24:10) | |
at expect (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:1463:32) | |
at parseName (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:96:15) | |
at parseInputValueDef (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:920:14) | |
at many (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:1520:16) | |
at parseInputFieldsDefinition (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:1083:50) | |
at parseInputObjectTypeDefinition (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:1067:16) | |
at parseTypeSystemDefinition (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:736:16) | |
at parseDefinition (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:142:16) | |
at many (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:1523:16) | |
at parseDocument (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:113:18) | |
at Object.parse (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/node_modules/graphql/language/parser.js:48:10) | |
at Object.addPolymorphicUnionType (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/services/Types.js:149:8) | |
at Object.generateSchema (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/plugins/graphql/services/Schema.js:179:15) | |
at Function.initialize (/Users/georgep/Documents/workspace/strapiGraphQlPluginErrorWithNewProject/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/strapiGraphQlPluginErrorWithNewProject/node_modules/strapi-hook-mongoose/lib/index.js:459:11) | |
at process._tickCallback (internal/process/next_tick.js:68:7) | |
(node:8523) 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:8523) [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-03T16:42:13.556Z] debug ⛔️ Server wasn't able to start properly. | |
[2018-10-03T16:42:13.557Z] 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