Created
September 26, 2023 13:04
-
-
Save stephyswe/057936ca6b2f470fafc9d8ffc03bef11 to your computer and use it in GitHub Desktop.
full terminal code
This file contains 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
Microsoft Windows [Version 10.0.19045.3448] | |
(c) Microsoft Corporation. All rights reserved. | |
D:\dev\sept\airbnb-v3-amplication\public>yarn | |
yarn install v1.22.19 | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
[3/4] Linking dependencies... | |
warning " > react-date-range@1.4.0" has unmet peer dependency "date-fns@2.0.0-alpha.7 || >=2.0.0". | |
[4/4] Building fresh packages... | |
success Saved lockfile. | |
Done in 28.48s. | |
D:\dev\sept\airbnb-v3-amplication\public>cd .. | |
D:\dev\sept\airbnb-v3-amplication>cd server | |
D:\dev\sept\airbnb-v3-amplication\server>yarn | |
yarn install v1.22.19 | |
info No lockfile found. | |
[1/4] Resolving packages... | |
warning @nestjs/graphql > subscriptions-transport-ws@0.11.0: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md | |
warning apollo-server-express@3.6.1: The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core@3.12.1: The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-datasource@3.3.2: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-server-errors@3.3.1: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-server-plugin-base@3.7.2: The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-server-plugin-base > apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-types > apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-datasource > apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-core > apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning apollo-server-express > apollo-server-types > apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details. | |
warning nest-morgan@1.0.1: Deprecated and unmaintained. Check out nestjs-pino as alternative. | |
warning @nestjs/cli > fork-ts-checker-webpack-plugin > memfs@3.6.0: this will be v4 | |
warning @nestjs/cli > @angular-devkit/schematics > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead | |
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. | |
warning supertest > superagent@3.8.3: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>. | |
warning supertest > superagent > formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau | |
[2/4] Fetching packages... | |
[3/4] Linking dependencies... | |
warning " > @nestjs/common@8.4.7" has unmet peer dependency "rxjs@^7.1.0". | |
warning " > @nestjs/config@1.1.5" has unmet peer dependency "rxjs@^6.0.0 || ^7.2.0". | |
warning " > @nestjs/core@8.4.7" has unmet peer dependency "rxjs@^7.1.0". | |
warning "@nestjs/graphql > @nestjs/mapped-types@1.0.0" has incorrect peer dependency "class-transformer@^0.2.0 || ^0.3.0 || ^0.4.0". | |
warning "@nestjs/graphql > @nestjs/mapped-types@1.0.0" has incorrect peer dependency "class-validator@^0.11.1 || ^0.12.0 || ^0.13.0". | |
warning " > apollo-server-express@3.6.1" has unmet peer dependency "express@^4.17.1". | |
warning " > swagger-ui-express@4.3.0" has unmet peer dependency "express@>=4.0.0". | |
warning " > ts-node@10.9.1" has unmet peer dependency "@types/node@*". | |
[4/4] Building fresh packages... | |
success Saved lockfile. | |
Done in 53.67s. | |
D:\dev\sept\airbnb-v3-amplication\server>npx prisma generate | |
Environment variables loaded from .env | |
Prisma schema loaded from prisma\schema.prisma | |
✔ Generated Prisma Client (4.6.1 | library) to .\node_modules\@prisma\client in 220ms | |
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client | |
``` | |
import { PrismaClient } from '@prisma/client' | |
const prisma = new PrismaClient() | |
``` | |
┌─────────────────────────────────────────────────────────┐ | |
│ Update available 4.6.1 -> 5.3.1 │ | |
│ │ | |
│ This is a major update - please follow the guide at │ | |
│ https://pris.ly/d/major-version-upgrade │ | |
│ │ | |
│ Run the following to update │ | |
│ npm i --save-dev prisma@latest │ | |
│ npm i @prisma/client@latest │ | |
└─────────────────────────────────────────────────────────┘ | |
D:\dev\sept\airbnb-v3-amplication\server>npx prisma studio | |
Environment variables loaded from .env | |
Prisma schema loaded from prisma\schema.prisma | |
Prisma Studio is up on http://localhost:5555 | |
Terminate batch job (Y/N)? | |
^CTerminate batch job (Y/N)? c | |
^C | |
D:\dev\sept\airbnb-v3-amplication\server> | |
D:\dev\sept\airbnb-v3-amplication\server> | |
D:\dev\sept\airbnb-v3-amplication\server>cd .. | |
D:\dev\sept\airbnb-v3-amplication>yarn start | |
yarn run v1.22.19 | |
$ npm-run-all -p start:frontend start:backend | |
$ cross-env PORT=5000 npm --prefix public run dev | |
$ npm --prefix server start | |
> start | |
> nest start | |
> public@0.1.0 dev | |
> next dev | |
- ready started server on 0.0.0.0:5000, url: http://localhost:5000 | |
- event compiled client and server successfully in 254 ms (20 modules) | |
- wait compiling... | |
- event compiled client and server successfully in 205 ms (20 modules) | |
- wait compiling /page (client and server)... | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [NestFactory] Starting Nest application... | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] AccessControlModule dependencies initialized +91ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] UserModuleBase dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] MorganModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] PassportModule dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] ListingModuleBase dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] WishlistModuleBase dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] TripModuleBase dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] PrismaModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] AppModule dependencies initialized +2ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] ConfigModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] HealthModule dependencies initialized +149ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] SecretsManagerModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] GraphQLSchemaBuilderModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] ServeStaticModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] JwtModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] GraphQLModule dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] ListingModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] WishlistModule dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] TripModule dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] UserModule dependencies initialized +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:45 PM LOG [InstanceLoader] AuthModule dependencies initialized +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RoutesResolver] AuthController {/api}: +772ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/login, POST} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RoutesResolver] UserController {/api/users}: +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users, POST} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users, GET} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id, PATCH} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id, DELETE} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/listings, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/listings, POST} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/listings, PATCH} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/listings, DELETE} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/trips, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/trips, POST} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/trips, PATCH} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/trips, DELETE} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/wishlists, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/wishlists, POST} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/wishlists, PATCH} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/users/:id/wishlists, DELETE} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RoutesResolver] ListingController {/api/listings}: +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings, POST} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id, PATCH} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id, DELETE} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/trips, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/trips, POST} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/trips, PATCH} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/trips, DELETE} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/wishlists, GET} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/wishlists, POST} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/wishlists, PATCH} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/listings/:id/wishlists, DELETE} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RoutesResolver] WishlistController {/api/wishlists}: +4ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/wishlists, POST} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/wishlists, GET} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/wishlists/:id, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/wishlists/:id, PATCH} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/wishlists/:id, DELETE} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RoutesResolver] TripController {/api/trips}: +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/trips, POST} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/trips, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/trips/:id, GET} route +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/trips/:id, PATCH} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/trips/:id, DELETE} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RoutesResolver] HealthController {/api/_health}: +1ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/_health/live, GET} route +0ms | |
[Nest] 4576 - 09/26/2023, 3:01:46 PM LOG [RouterExplorer] Mapped {/api/_health/ready, GET} route +0ms | |
- event compiled client and server successfully in 1887 ms (402 modules) | |
- wait compiling /favicon.ico/route (client and server)... | |
- event compiled successfully in 198 ms (267 modules) | |
D:\dev\sept\airbnb-v3-amplication\server\node_modules\@prisma\client\runtime\index.js:30455 | |
throw new PrismaClientInitializationError(error2.message, this.config.clientVersion, error2.error_code); | |
^ | |
Error: Can't reach database server at `localhost`:`5432` | |
Please make sure your database server is running at `localhost`:`5432`. | |
at startFn (D:\dev\sept\airbnb-v3-amplication\server\node_modules\@prisma\client\runtime\index.js:30455:17) | |
at Proxy.onModuleInit (D:\dev\sept\airbnb-v3-amplication\server\src\prisma\prisma.service.ts:7:5) | |
at async Promise.all (index 0) | |
at callModuleInitHook (D:\dev\sept\airbnb-v3-amplication\server\node_modules\@nestjs\core\hooks\on-module-init.hook.js:43:5) | |
at NestApplication.callInitHook (D:\dev\sept\airbnb-v3-amplication\server\node_modules\@nestjs\core\nest-application-context.js:178:13) | |
at NestApplication.init (D:\dev\sept\airbnb-v3-amplication\server\node_modules\@nestjs\core\nest-application.js:96:9) | |
at NestApplication.listen (D:\dev\sept\airbnb-v3-amplication\server\node_modules\@nestjs\core\nest-application.js:158:33) | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
ERROR: "start:backend" exited with 1. | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
D:\dev\sept\airbnb-v3-amplication> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment