Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ChrisOwen101/3b3481714e799372cfaba22ae3d8fbfb to your computer and use it in GitHub Desktop.
Save ChrisOwen101/3b3481714e799372cfaba22ae3d8fbfb to your computer and use it in GitHub Desktop.
(base) chrisowen@Chriss-MacBook-Pro-2 docblock % yarn dev
yarn run v1.22.10
warning package.json: License should be a valid SPDX license expression
warning ../../../package.json: No license field
$ yarn --cwd ./nextjs install && docker-compose up
warning ../package.json: License should be a valid SPDX license expression
warning ../../../../package.json: No license field
[1/4] 🔍 Resolving packages...
success Already up-to-date.
[+] Running 3/3
✔ Container docblock-postgres Created 0.0s
✔ Container docblock-hasura Created 0.0s
✔ Container docblock-docblock-nextjs-1 Recreated 0.7s
Attaching to docblock-docblock-nextjs-1, docblock-hasura, docblock-postgres
docblock-postgres |
docblock-postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization
docblock-postgres |
docblock-postgres | 2023-05-12 10:35:35.678 UTC [1] LOG: starting PostgreSQL 13.0 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
docblock-postgres | 2023-05-12 10:35:35.678 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
docblock-postgres | 2023-05-12 10:35:35.678 UTC [1] LOG: listening on IPv6 address "::", port 5432
docblock-postgres | 2023-05-12 10:35:35.691 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
docblock-postgres | 2023-05-12 10:35:35.706 UTC [21] LOG: database system was shut down at 2023-05-12 10:33:17 UTC
docblock-postgres | 2023-05-12 10:35:35.812 UTC [1] LOG: database system is ready to accept connections
docblock-hasura | {"timestamp":"2023-05-12T10:35:36.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"migrations server port env var is not set, defaulting to 9691"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:36.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"server timeout is not set, defaulting to 30 seconds"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:36.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"starting graphql engine temporarily on port 9691"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:36.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"waiting 30 for 9691 to be ready"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:37.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"port 9691 is ready"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:37.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"env var HASURA_GRAPHQL_MIGRATIONS_DIR is not set, defaulting to /hasura-migrations"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:37.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"env var HASURA_GRAPHQL_METADATA_DIR is not set, defaulting to /hasura-metadata"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:37.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-apply","info":"applying metadata from /hasura-metadata"}}
docblock-hasura | {"level":"info","msg":"Applying metadata...","time":"2023-05-12T10:35:37Z"}
docblock-docblock-nextjs-1 | yarn run v1.22.19
docblock-docblock-nextjs-1 | $ npx concurrently "next dev" "yarn graphql:generate --watch"
docblock-hasura | {"level":"info","msg":"Metadata applied","time":"2023-05-12T10:35:38Z"}
docblock-hasura | {"timestamp":"2023-05-12T10:35:39.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-apply","info":"applying migrations from /hasura-migrations"}}
docblock-hasura | {"level":"info","msg":"getting lists of databases from server ","time":"2023-05-12T10:35:39Z"}
docblock-hasura | {"level":"info","msg":"nothing to apply on database: default","time":"2023-05-12T10:35:39Z"}
docblock-hasura | {"timestamp":"2023-05-12T10:35:40.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-apply","info":"reloading metadata"}}
docblock-hasura | {"level":"info","msg":"Reloading metadata...","time":"2023-05-12T10:35:40Z"}
docblock-hasura | {"level":"info","msg":"Metadata reloaded","time":"2023-05-12T10:35:40Z"}
docblock-hasura | {"level":"info","msg":"Metadata is consistent","time":"2023-05-12T10:35:40Z"}
docblock-hasura | {"timestamp":"2023-05-12T10:35:41.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-shutdown","info":"killing temporary server"}}
docblock-hasura | {"timestamp":"2023-05-12T10:35:41.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-shutdown","info":"graphql-engine will now start in normal mode"}}
docblock-docblock-nextjs-1 | npm WARN exec The following package was not found and will be installed: concurrently@8.0.1
docblock-docblock-nextjs-1 | [1] $ npx graphql-codegen --require dotenv/config --config lib/codegen.ts --watch
docblock-docblock-nextjs-1 | [0] - ready started server on 0.0.0.0:3000, url: http://localhost:3000
docblock-docblock-nextjs-1 | [0] - info Loaded env from /app/.env.local
docblock-docblock-nextjs-1 | [1] { codegenURI: 'http://docblock-hasura:8080/v1/graphql' }
docblock-docblock-nextjs-1 | [1] [STARTED] Parse Configuration
docblock-docblock-nextjs-1 | [1] [SUCCESS] Parse Configuration
docblock-docblock-nextjs-1 | [1] [STARTED] Generate outputs
docblock-docblock-nextjs-1 | [1] [STARTED] Generate to ./generated/graphql.tsx
docblock-docblock-nextjs-1 | [1] [STARTED] Generate to ./graphql.schema.json
docblock-docblock-nextjs-1 | [1] [STARTED] Load GraphQL schemas
docblock-docblock-nextjs-1 | [1] [STARTED] Load GraphQL schemas
docblock-docblock-nextjs-1 | [0] - info Using wasm build of next-swc
docblock-docblock-nextjs-1 | [0] - warn Attempted to load @next/swc-linux-arm64-gnu, but it was not installed
docblock-docblock-nextjs-1 | [0] - warn Attempted to load @next/swc-linux-arm64-musl, but it was not installed
docblock-docblock-nextjs-1 | [1] [SUCCESS] Load GraphQL schemas
docblock-docblock-nextjs-1 | [1] [SUCCESS] Load GraphQL schemas
docblock-docblock-nextjs-1 | [1] [STARTED] Load GraphQL documents
docblock-docblock-nextjs-1 | [1] [STARTED] Load GraphQL documents
docblock-docblock-nextjs-1 | [1] [SUCCESS] Load GraphQL documents
docblock-docblock-nextjs-1 | [1] [SUCCESS] Load GraphQL documents
docblock-docblock-nextjs-1 | [1] [STARTED] Generate
docblock-docblock-nextjs-1 | [1] [STARTED] Generate
docblock-docblock-nextjs-1 | [0] - event compiled client and server successfully in 11.7s (1478 modules)
docblock-docblock-nextjs-1 | [1] [SUCCESS] Generate
docblock-docblock-nextjs-1 | [1] [SUCCESS] Generate
docblock-docblock-nextjs-1 | [1] [SUCCESS] Generate to ./generated/graphql.tsx
docblock-docblock-nextjs-1 | [1] [SUCCESS] Generate to ./graphql.schema.json
docblock-docblock-nextjs-1 | [1] [SUCCESS] Generate outputs
docblock-docblock-nextjs-1 | [0] Watchpack Error (watcher): Error: EACCES: permission denied, watch '/root'
docblock-docblock-nextjs-1 | [0] Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/root'
docblock-docblock-nextjs-1 | [1] ℹ Watching for changes...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment