[GH-ISSUE #3111] [bug]: ERROR [hoppscotch-backend builder 8/9] RUN pnpm i --filter hoppscotch-backend #1024

Closed
opened 2026-03-16 18:09:46 +03:00 by kerem · 18 comments
Owner

Originally created by @mir1198yusuf on GitHub (Jun 4, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3111

Originally assigned to: @balub on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I do docker compose build, I get error as

ERROR [hoppscotch-backend builder 8/9] RUN pnpm i --filter hoppscotch-backend

Steps to reproduce

I followed the same steps as mentioned in self-host installation guide.
Let me if you need to know any specific details of my system.

Environment

Production

Version

Self-hosted

Originally created by @mir1198yusuf on GitHub (Jun 4, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3111 Originally assigned to: @balub on GitHub. ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I do `docker compose build`, I get error as ``` ERROR [hoppscotch-backend builder 8/9] RUN pnpm i --filter hoppscotch-backend ``` ### Steps to reproduce I followed the same steps as mentioned in self-host installation guide. Let me if you need to know any specific details of my system. ### Environment Production ### Version Self-hosted
kerem 2026-03-16 18:09:46 +03:00
Author
Owner

@balub commented on GitHub (Jun 4, 2023):

@mir1198yusuf Can you provide more details like the logs so that we maybe able to identify what the issue maybe?

<!-- gh-comment-id:1575681079 --> @balub commented on GitHub (Jun 4, 2023): @mir1198yusuf Can you provide more details like the logs so that we maybe able to identify what the issue maybe?
Author
Owner

@mir1198yusuf commented on GitHub (Jun 4, 2023):

@balub
When i am running pnpm install, I get one error in middle for vite-dts and one warning line for nestjs/jwt. It gets successful though finally (this command). Output/Error of next command docker compose build is in next comment

ubuntu@ip-172-31-17-175:~/hoppscotch$ pnpm install
Scope: all 10 workspace projects
packages/hoppscotch-backend              |  WARN  deprecated @types/argon2@0.15.0rogress: resolved 1, reused 0, downloaded 0, added 0
packages/hoppscotch-backend              |  WARN  deprecated apollo-server-express@3.11.1 resolved 42, reused 0, downloaded 34, added 0
packages/hoppscotch-backend              |  WARN  deprecated apollo-server-plugin-base@3.7.1solved 42, reused 0, downloaded 34, added 0
packages/hoppscotch-cli                  |  WARN  deprecated @types/commander@2.12.2ress: resolved 68, reused 0, downloaded 61, added 0
packages/hoppscotch-cli                  |  WARN  deprecated @types/chalk@2.2.0
packages/hoppscotch-cli                  |  WARN  deprecated @types/axios@0.14.0
packages/hoppscotch-common               |  WARN  deprecated @intlify/vite-plugin-vue-i18n@7.0.0ed 103, reused 0, downloaded 97, added 0
packages/hoppscotch-common               |  WARN  deprecated insomnia-importers@3.3.0ess: resolved 171, reused 0, downloaded 164, added 0
packages/hoppscotch-common               |  WARN  deprecated subscriptions-transport-ws@0.11.0lved 171, reused 0, downloaded 164, added 0
Downloading registry.npmjs.org/firebase/9.8.4: 6.48 MB/6.48 MB, done
Downloading registry.npmjs.org/typescript/4.7.4: 11.7 MB/11.7 MB, done
Downloading registry.npmjs.org/typescript/4.9.3: 11.6 MB/11.6 MB, done
packages/hoppscotch-backend              |  WARN  deprecated preview-email@3.0.5
packages/hoppscotch-backend              |  WARN  deprecated apollo-server-types@3.7.1ading registry.npmjs.org/typescript/4.8.4: 1.07 MB/11.9 MB
packages/hoppscotch-common               |  WARN  deprecated har-validator@5.1.5
packages/hoppscotch-common               |  WARN  deprecated querystring@0.2.0
packages/hoppscotch-sh-admin             |  WARN  deprecated vscode-vue-languageservice@0.27.30istry.npmjs.org/typescript/4.8.4: 3.93 MB/11.9 MB
packages/codemirror-lang-graphql         |  WARN  deprecated sourcemap-codec@1.4.8wnloading registry.npmjs.org/typescript/4.8.4: 4.46 MB/11.9 MB
packages/hoppscotch-common               |  WARN  deprecated rollup-plugin-inject@3.0.2ding registry.npmjs.org/typescript/4.8.4: 4.72 MB/11.9 MB
packages/hoppscotch-common               |  WARN  deprecated xmldom@0.1.31
packages/hoppscotch-sh-admin             |  WARN  deprecated @volar/html2pug@0.27.13loading registry.npmjs.org/typescript/4.8.4: 5.49 MB/11.9 MB
packages/hoppscotch-sh-admin             |  WARN  deprecated vscode-pug-languageservice@0.27.24istry.npmjs.org/typescript/4.8.4: 5.49 MB/11.9 MB
packages/hoppscotch-sh-admin             |  WARN  deprecated vscode-typescript-languageservice@0.27.25pmjs.org/typescript/4.8.4: 5.49 MB/11.9 MB
packages/hoppscotch-backend              |  WARN  deprecated apollo-server-core@3.11.1ading registry.npmjs.org/typescript/4.8.4: 7.31 MB/11.9 MB
packages/hoppscotch-backend              |  WARN  deprecated apollo-datasource@3.3.2loading registry.npmjs.org/typescript/4.8.4: 7.31 MB/11.9 MB
packages/hoppscotch-backend              |  WARN  deprecated apollo-server-env@4.2.1loading registry.npmjs.org/typescript/4.8.4: 7.57 MB/11.9 MB
packages/hoppscotch-backend              |  WARN  deprecated apollo-server-errors@3.3.1ding registry.npmjs.org/typescript/4.8.4: 7.57 MB/11.9 MB
packages/hoppscotch-backend              |  WARN  deprecated apollo-reporting-protobuf@3.3.3registry.npmjs.org/typescript/4.8.4: 7.57 MB/11.9 MB
packages/hoppscotch-common               |  WARN  deprecated mkdirp-promise@1.1.0ownloading registry.npmjs.org/typescript/4.8.4: 7.83 MB/11.9 MB
packages/hoppscotch-selfhost-web         |  WARN  deprecated core-js@3.6.5
Downloading registry.npmjs.org/typescript/4.8.4: 11.9 MB/11.9 MB, done
Downloading registry.npmjs.org/typescript/4.9.4: 11.6 MB/11.6 MB, done
packages/hoppscotch-common               |  WARN  deprecated rollup-plugin-terser@7.0.2
Packages: +2371
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/ubuntu/.local/share/pnpm/store/v3
  Virtual store is at:             node_modules/.pnpm
Downloading registry.npmjs.org/@swc/core-linux-x64-gnu/1.2.213: 29.9 MB/29.9 MB, done
Downloading registry.npmjs.org/@swc/core-linux-x64-musl/1.2.213: 29.8 MB/29.8 MB, done
Progress: resolved 2411, reused 0, downloaded 2318, added 2371, done
 WARN  Local dependency not found at /home/ubuntu/hoppscotch/packages/hoppscotch-backend/@types/nestjs/jwt
node_modules/.pnpm/@prisma+engines@4.8.1/node_modules/@prisma/engines: Running postinstall script, done in 4.2s
node_modules/.pnpm/@apollo+protobufjs@1.2.6/node_modules/@apollo/protobufjs: Running postinstall script, done in 183ms
node_modules/.pnpm/@apollo+protobufjs@1.2.7/node_modules/@apollo/protobufjs: Running postinstall script, done in 201ms
node_modules/.pnpm/@nestjs+core@9.2.1_@nestjs+common@9.2.1_@nestjs+platform-express@9.2.1_reflect-metadata@0.1.13_rxjs@7.6.0/node_modules/@nestjs/core: Running postinstall script, done in 686ms
node_modules/.pnpm/argon2@0.30.3/node_modules/argon2: Running install script, done in 1s
node_modules/.pnpm/core-js@3.26.0/node_modules/core-js: Running postinstall script, done in 265ms
node_modules/.pnpm/bcrypt@5.1.0/node_modules/bcrypt: Running install script, done in 611ms
node_modules/.pnpm/core-js@3.6.5/node_modules/core-js: Running postinstall script, done in 177ms
node_modules/.pnpm/protobufjs@6.11.3/node_modules/protobufjs: Running postinstall script, done in 179ms
node_modules/.pnpm/vue-demi@0.13.1_vue@3.2.37/node_modules/vue-demi: Running postinstall script, done in 317ms
node_modules/.pnpm/vue-demi@0.13.1_vue@3.2.45/node_modules/vue-demi: Running postinstall script, done in 238ms
node_modules/.pnpm/esbuild@0.15.7/node_modules/esbuild: Running postinstall script, done in 119ms
node_modules/.pnpm/esbuild@0.15.15/node_modules/esbuild: Running postinstall script, done in 228ms
node_modules/.pnpm/esbuild@0.16.17/node_modules/esbuild: Running postinstall script, done in 214ms
node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild: Running postinstall script, done in 243ms
node_modules/.pnpm/prisma@4.8.1/node_modules/prisma: Running preinstall script, done in 158ms
node_modules/.pnpm/prisma@4.8.1/node_modules/prisma: Running install script, done in 152ms
node_modules/.pnpm/@prisma+client@4.8.1_prisma@4.8.1/node_modules/@prisma/client: Running postinstall script, done in 1.9s
packages/codemirror-lang-graphql prepare$ rollup -c
│ Browserslist: caniuse-lite is outdated. Please run:
│   npx browserslist@latest --update-db
│   Why you should do it regularly: https://github.com/browserslist/browsersli
│ 
│ src/index.js → dist/index.cjs, ./dist...
│ created dist/index.cjs, ./dist in 7.3s
└─ Done in 10.6s
packages/hoppscotch-backend postinstall$ prisma generate && pnpm run generate-
[12 lines collapsed]
│ └─────────────────────────────────────────────────────────┘
│ > hoppscotch-backend@2023.4.4 generate-gql-sdl /home/ubuntu/hoppscotch/packa
│ > cross-env GQL_SCHEMA_EMIT_LOCATION='../../../gql-gen/backend-schema.gql' G
│ [Nest] 12074  - 06/04/2023, 8:09:20 PM     LOG [emitGQLSchemaFile] GQL_SCHEM
│ [Nest] 12074  - 06/04/2023, 8:09:21 PM     LOG [NestFactory] Starting Nest a
│ [Nest] 12074  - 06/04/2023, 8:09:21 PM     LOG [InstanceLoader] GraphQLSchem
│ [Nest] 12074  - 06/04/2023, 8:09:21 PM     LOG [NestApplication] Nest applic
│ [Nest] 12074  - 06/04/2023, 8:09:21 PM     LOG [emitGQLSchemaFile] Generatin
│ [Nest] 12074  - 06/04/2023, 8:09:21 PM     LOG [emitGQLSchemaFile] Writing s
│ [Nest] 12074  - 06/04/2023, 8:09:21 PM     LOG [emitGQLSchemaFile] Wrote sch
└─ Done in 36.9s
packages/hoppscotch-data prepare$ pnpm run build:code && pnpm run build:decl
│ > @hoppscotch/data@0.4.4 build:code /home/ubuntu/hoppscotch/packages/hoppsco
│ > vite build
│ vite v3.2.4 building for production...
│ transforming...
│ ✓ 287 modules transformed.
│ rendering chunks...
│ dist/hoppscotch-data.js   46.28 KiB / gzip: 13.39 KiB
│ dist/hoppscotch-data.cjs   34.28 KiB / gzip: 12.04 KiB
│ > @hoppscotch/data@0.4.4 build:decl /home/ubuntu/hoppscotch/packages/hoppsco
│ > tsc --project tsconfig.decl.json
└─ Done in 16.8s
packages/hoppscotch-ui postinstall$ pnpm run build
[2 lines collapsed]
│ vite v3.2.4 building for production...
│ transforming...
│ [vite:dts] A error occurred when transform code, maybe there are some inertn
│ ✓ 732 modules transformed.
│ rendering chunks...
│ dist/style.css     65.94 KiB / gzip: 7.77 KiB
│ dist/index.es.js   209.34 KiB / gzip: 46.66 KiB
│ dist/index.es.js.map 817.55 KiB
│ [vite:dts] Start generate declaration files...
│ [vite:dts] Declaration files built in 9974ms.
└─ Done in 31.6s
. prepare$ husky install
│ husky - Git hooks installed
└─ Done in 393ms
packages/hoppscotch-js-sandbox postinstall$ pnpm run build
[9 lines collapsed]
│ CJS Build start
│ ESM ⚡️ Build success in 68ms
│ CJS ⚡️ Build success in 70ms
│ ESM lib/index.mjs     18.97 KB
│ ESM lib/index.mjs.map 38.94 KB
│ CJS lib/index.js     20.05 KB
│ CJS lib/index.js.map 38.94 KB
│ DTS Build start
│ DTS ⚡️ Build success in 3854ms
│ DTS lib/index.d.ts 2.65 KB
└─ Done in 6.5s
packages/hoppscotch-sh-admin postinstall$ pnpm run gql-codegen
[12 lines collapsed]
│ [STARTED] Load GraphQL documents
│ [SUCCESS] Load GraphQL documents
│ [STARTED] Generate
│ [SUCCESS] Generate
│ [SUCCESS] Generate to src/helpers/backend/graphql.schema.json
│ [SUCCESS] Load GraphQL documents
│ [STARTED] Generate
│ [SUCCESS] Generate
│ [SUCCESS] Generate to src/helpers/backend/graphql.ts
│ [SUCCESS] Generate outputs
└─ Done in 4s
packages/hoppscotch-common postinstall$ pnpm run gql-codegen
[12 lines collapsed]
│ [SUCCESS] Generate src/helpers/backend/graphql.ts
│ [STARTED] Generate src/helpers/backend/backend-schema.json
│ [STARTED] Load GraphQL schemas
│ [SUCCESS] Load GraphQL schemas
│ [STARTED] Load GraphQL documents
│ [SUCCESS] Load GraphQL documents
│ [STARTED] Generate
│ [SUCCESS] Generate
│ [SUCCESS] Generate src/helpers/backend/backend-schema.json
│ [SUCCESS] Generate outputs
└─ Done in 2.4s
packages/hoppscotch-selfhost-web postinstall$ pnpm run gql-codegen
[12 lines collapsed]
│ [SUCCESS] Generate src/api/generated/graphql.ts
│ [STARTED] Generate src/api/generated/backend-schema.json
│ [STARTED] Load GraphQL schemas
│ [SUCCESS] Load GraphQL schemas
│ [STARTED] Load GraphQL documents
│ [SUCCESS] Load GraphQL documents
│ [STARTED] Generate
│ [SUCCESS] Generate
│ [SUCCESS] Generate src/api/generated/backend-schema.json
│ [SUCCESS] Generate outputs
└─ Done in 2.2s

dependencies:
+ husky 7.0.4
+ lint-staged 12.5.0

devDependencies:
+ @commitlint/cli 16.3.0
+ @commitlint/config-conventional 16.2.4
+ @types/node 17.0.45
+ cross-env 7.0.3
+ http-server 14.1.1

 WARN  Issues with peer dependencies found
packages/hoppscotch-sh-admin
└─┬ express-graphql 0.12.0
  └── ✕ unmet peer graphql@"^14.7.0 || ^15.3.0": found 16.6.0

Done in 2m 16.5s

<!-- gh-comment-id:1575696342 --> @mir1198yusuf commented on GitHub (Jun 4, 2023): @balub When i am running `pnpm install`, I get one error in middle for vite-dts and one warning line for nestjs/jwt. It gets successful though finally (this command). Output/Error of next command `docker compose build` is in next comment ``` ubuntu@ip-172-31-17-175:~/hoppscotch$ pnpm install Scope: all 10 workspace projects packages/hoppscotch-backend |  WARN  deprecated @types/argon2@0.15.0rogress: resolved 1, reused 0, downloaded 0, added 0 packages/hoppscotch-backend |  WARN  deprecated apollo-server-express@3.11.1 resolved 42, reused 0, downloaded 34, added 0 packages/hoppscotch-backend |  WARN  deprecated apollo-server-plugin-base@3.7.1solved 42, reused 0, downloaded 34, added 0 packages/hoppscotch-cli |  WARN  deprecated @types/commander@2.12.2ress: resolved 68, reused 0, downloaded 61, added 0 packages/hoppscotch-cli |  WARN  deprecated @types/chalk@2.2.0 packages/hoppscotch-cli |  WARN  deprecated @types/axios@0.14.0 packages/hoppscotch-common |  WARN  deprecated @intlify/vite-plugin-vue-i18n@7.0.0ed 103, reused 0, downloaded 97, added 0 packages/hoppscotch-common |  WARN  deprecated insomnia-importers@3.3.0ess: resolved 171, reused 0, downloaded 164, added 0 packages/hoppscotch-common |  WARN  deprecated subscriptions-transport-ws@0.11.0lved 171, reused 0, downloaded 164, added 0 Downloading registry.npmjs.org/firebase/9.8.4: 6.48 MB/6.48 MB, done Downloading registry.npmjs.org/typescript/4.7.4: 11.7 MB/11.7 MB, done Downloading registry.npmjs.org/typescript/4.9.3: 11.6 MB/11.6 MB, done packages/hoppscotch-backend |  WARN  deprecated preview-email@3.0.5 packages/hoppscotch-backend |  WARN  deprecated apollo-server-types@3.7.1ading registry.npmjs.org/typescript/4.8.4: 1.07 MB/11.9 MB packages/hoppscotch-common |  WARN  deprecated har-validator@5.1.5 packages/hoppscotch-common |  WARN  deprecated querystring@0.2.0 packages/hoppscotch-sh-admin |  WARN  deprecated vscode-vue-languageservice@0.27.30istry.npmjs.org/typescript/4.8.4: 3.93 MB/11.9 MB packages/codemirror-lang-graphql |  WARN  deprecated sourcemap-codec@1.4.8wnloading registry.npmjs.org/typescript/4.8.4: 4.46 MB/11.9 MB packages/hoppscotch-common |  WARN  deprecated rollup-plugin-inject@3.0.2ding registry.npmjs.org/typescript/4.8.4: 4.72 MB/11.9 MB packages/hoppscotch-common |  WARN  deprecated xmldom@0.1.31 packages/hoppscotch-sh-admin |  WARN  deprecated @volar/html2pug@0.27.13loading registry.npmjs.org/typescript/4.8.4: 5.49 MB/11.9 MB packages/hoppscotch-sh-admin |  WARN  deprecated vscode-pug-languageservice@0.27.24istry.npmjs.org/typescript/4.8.4: 5.49 MB/11.9 MB packages/hoppscotch-sh-admin |  WARN  deprecated vscode-typescript-languageservice@0.27.25pmjs.org/typescript/4.8.4: 5.49 MB/11.9 MB packages/hoppscotch-backend |  WARN  deprecated apollo-server-core@3.11.1ading registry.npmjs.org/typescript/4.8.4: 7.31 MB/11.9 MB packages/hoppscotch-backend |  WARN  deprecated apollo-datasource@3.3.2loading registry.npmjs.org/typescript/4.8.4: 7.31 MB/11.9 MB packages/hoppscotch-backend |  WARN  deprecated apollo-server-env@4.2.1loading registry.npmjs.org/typescript/4.8.4: 7.57 MB/11.9 MB packages/hoppscotch-backend |  WARN  deprecated apollo-server-errors@3.3.1ding registry.npmjs.org/typescript/4.8.4: 7.57 MB/11.9 MB packages/hoppscotch-backend |  WARN  deprecated apollo-reporting-protobuf@3.3.3registry.npmjs.org/typescript/4.8.4: 7.57 MB/11.9 MB packages/hoppscotch-common |  WARN  deprecated mkdirp-promise@1.1.0ownloading registry.npmjs.org/typescript/4.8.4: 7.83 MB/11.9 MB packages/hoppscotch-selfhost-web |  WARN  deprecated core-js@3.6.5 Downloading registry.npmjs.org/typescript/4.8.4: 11.9 MB/11.9 MB, done Downloading registry.npmjs.org/typescript/4.9.4: 11.6 MB/11.6 MB, done packages/hoppscotch-common |  WARN  deprecated rollup-plugin-terser@7.0.2 Packages: +2371 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /home/ubuntu/.local/share/pnpm/store/v3 Virtual store is at: node_modules/.pnpm Downloading registry.npmjs.org/@swc/core-linux-x64-gnu/1.2.213: 29.9 MB/29.9 MB, done Downloading registry.npmjs.org/@swc/core-linux-x64-musl/1.2.213: 29.8 MB/29.8 MB, done Progress: resolved 2411, reused 0, downloaded 2318, added 2371, done  WARN  Local dependency not found at /home/ubuntu/hoppscotch/packages/hoppscotch-backend/@types/nestjs/jwt node_modules/.pnpm/@prisma+engines@4.8.1/node_modules/@prisma/engines: Running postinstall script, done in 4.2s node_modules/.pnpm/@apollo+protobufjs@1.2.6/node_modules/@apollo/protobufjs: Running postinstall script, done in 183ms node_modules/.pnpm/@apollo+protobufjs@1.2.7/node_modules/@apollo/protobufjs: Running postinstall script, done in 201ms node_modules/.pnpm/@nestjs+core@9.2.1_@nestjs+common@9.2.1_@nestjs+platform-express@9.2.1_reflect-metadata@0.1.13_rxjs@7.6.0/node_modules/@nestjs/core: Running postinstall script, done in 686ms node_modules/.pnpm/argon2@0.30.3/node_modules/argon2: Running install script, done in 1s node_modules/.pnpm/core-js@3.26.0/node_modules/core-js: Running postinstall script, done in 265ms node_modules/.pnpm/bcrypt@5.1.0/node_modules/bcrypt: Running install script, done in 611ms node_modules/.pnpm/core-js@3.6.5/node_modules/core-js: Running postinstall script, done in 177ms node_modules/.pnpm/protobufjs@6.11.3/node_modules/protobufjs: Running postinstall script, done in 179ms node_modules/.pnpm/vue-demi@0.13.1_vue@3.2.37/node_modules/vue-demi: Running postinstall script, done in 317ms node_modules/.pnpm/vue-demi@0.13.1_vue@3.2.45/node_modules/vue-demi: Running postinstall script, done in 238ms node_modules/.pnpm/esbuild@0.15.7/node_modules/esbuild: Running postinstall script, done in 119ms node_modules/.pnpm/esbuild@0.15.15/node_modules/esbuild: Running postinstall script, done in 228ms node_modules/.pnpm/esbuild@0.16.17/node_modules/esbuild: Running postinstall script, done in 214ms node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild: Running postinstall script, done in 243ms node_modules/.pnpm/prisma@4.8.1/node_modules/prisma: Running preinstall script, done in 158ms node_modules/.pnpm/prisma@4.8.1/node_modules/prisma: Running install script, done in 152ms node_modules/.pnpm/@prisma+client@4.8.1_prisma@4.8.1/node_modules/@prisma/client: Running postinstall script, done in 1.9s packages/codemirror-lang-graphql prepare$ rollup -c │ Browserslist: caniuse-lite is outdated. Please run: │ npx browserslist@latest --update-db │ Why you should do it regularly: https://github.com/browserslist/browsersli │ │ src/index.js → dist/index.cjs, ./dist... │ created dist/index.cjs, ./dist in 7.3s └─ Done in 10.6s packages/hoppscotch-backend postinstall$ prisma generate && pnpm run generate- [12 lines collapsed] │ └─────────────────────────────────────────────────────────┘ │ > hoppscotch-backend@2023.4.4 generate-gql-sdl /home/ubuntu/hoppscotch/packa │ > cross-env GQL_SCHEMA_EMIT_LOCATION='../../../gql-gen/backend-schema.gql' G │ [Nest] 12074 - 06/04/2023, 8:09:20 PM LOG [emitGQLSchemaFile] GQL_SCHEM │ [Nest] 12074 - 06/04/2023, 8:09:21 PM LOG [NestFactory] Starting Nest a │ [Nest] 12074 - 06/04/2023, 8:09:21 PM LOG [InstanceLoader] GraphQLSchem │ [Nest] 12074 - 06/04/2023, 8:09:21 PM LOG [NestApplication] Nest applic │ [Nest] 12074 - 06/04/2023, 8:09:21 PM LOG [emitGQLSchemaFile] Generatin │ [Nest] 12074 - 06/04/2023, 8:09:21 PM LOG [emitGQLSchemaFile] Writing s │ [Nest] 12074 - 06/04/2023, 8:09:21 PM LOG [emitGQLSchemaFile] Wrote sch └─ Done in 36.9s packages/hoppscotch-data prepare$ pnpm run build:code && pnpm run build:decl │ > @hoppscotch/data@0.4.4 build:code /home/ubuntu/hoppscotch/packages/hoppsco │ > vite build │ vite v3.2.4 building for production... │ transforming... │ ✓ 287 modules transformed. │ rendering chunks... │ dist/hoppscotch-data.js 46.28 KiB / gzip: 13.39 KiB │ dist/hoppscotch-data.cjs 34.28 KiB / gzip: 12.04 KiB │ > @hoppscotch/data@0.4.4 build:decl /home/ubuntu/hoppscotch/packages/hoppsco │ > tsc --project tsconfig.decl.json └─ Done in 16.8s packages/hoppscotch-ui postinstall$ pnpm run build [2 lines collapsed] │ vite v3.2.4 building for production... │ transforming... │ [vite:dts] A error occurred when transform code, maybe there are some inertn │ ✓ 732 modules transformed. │ rendering chunks... │ dist/style.css 65.94 KiB / gzip: 7.77 KiB │ dist/index.es.js 209.34 KiB / gzip: 46.66 KiB │ dist/index.es.js.map 817.55 KiB │ [vite:dts] Start generate declaration files... │ [vite:dts] Declaration files built in 9974ms. └─ Done in 31.6s . prepare$ husky install │ husky - Git hooks installed └─ Done in 393ms packages/hoppscotch-js-sandbox postinstall$ pnpm run build [9 lines collapsed] │ CJS Build start │ ESM ⚡️ Build success in 68ms │ CJS ⚡️ Build success in 70ms │ ESM lib/index.mjs 18.97 KB │ ESM lib/index.mjs.map 38.94 KB │ CJS lib/index.js 20.05 KB │ CJS lib/index.js.map 38.94 KB │ DTS Build start │ DTS ⚡️ Build success in 3854ms │ DTS lib/index.d.ts 2.65 KB └─ Done in 6.5s packages/hoppscotch-sh-admin postinstall$ pnpm run gql-codegen [12 lines collapsed] │ [STARTED] Load GraphQL documents │ [SUCCESS] Load GraphQL documents │ [STARTED] Generate │ [SUCCESS] Generate │ [SUCCESS] Generate to src/helpers/backend/graphql.schema.json │ [SUCCESS] Load GraphQL documents │ [STARTED] Generate │ [SUCCESS] Generate │ [SUCCESS] Generate to src/helpers/backend/graphql.ts │ [SUCCESS] Generate outputs └─ Done in 4s packages/hoppscotch-common postinstall$ pnpm run gql-codegen [12 lines collapsed] │ [SUCCESS] Generate src/helpers/backend/graphql.ts │ [STARTED] Generate src/helpers/backend/backend-schema.json │ [STARTED] Load GraphQL schemas │ [SUCCESS] Load GraphQL schemas │ [STARTED] Load GraphQL documents │ [SUCCESS] Load GraphQL documents │ [STARTED] Generate │ [SUCCESS] Generate │ [SUCCESS] Generate src/helpers/backend/backend-schema.json │ [SUCCESS] Generate outputs └─ Done in 2.4s packages/hoppscotch-selfhost-web postinstall$ pnpm run gql-codegen [12 lines collapsed] │ [SUCCESS] Generate src/api/generated/graphql.ts │ [STARTED] Generate src/api/generated/backend-schema.json │ [STARTED] Load GraphQL schemas │ [SUCCESS] Load GraphQL schemas │ [STARTED] Load GraphQL documents │ [SUCCESS] Load GraphQL documents │ [STARTED] Generate │ [SUCCESS] Generate │ [SUCCESS] Generate src/api/generated/backend-schema.json │ [SUCCESS] Generate outputs └─ Done in 2.2s dependencies: + husky 7.0.4 + lint-staged 12.5.0 devDependencies: + @commitlint/cli 16.3.0 + @commitlint/config-conventional 16.2.4 + @types/node 17.0.45 + cross-env 7.0.3 + http-server 14.1.1  WARN  Issues with peer dependencies found packages/hoppscotch-sh-admin └─┬ express-graphql 0.12.0 └── ✕ unmet peer graphql@"^14.7.0 || ^15.3.0": found 16.6.0 Done in 2m 16.5s ```
Author
Owner

@mir1198yusuf commented on GitHub (Jun 4, 2023):

@balub The error while running docker compose build is below

[+] Building 0.0s (0/0)                                                                                                                                                                                     
[+] Building 0.0s (0/0)                                                                                                                                                                                     
[+] Building 318.2s (20/39)                                                                                                                                                                                 
[+] Building 394.5s (25/39)                                                                                                                                                                                 
 => [hoppscotch-backend internal] load build definition from Dockerfile                                                                                                                                0.1s 
 => => transferring dockerfile: 558B                                                                                                                                                                   0.0s 
 => [hoppscotch-backend internal] load .dockerignore                                                                                                                                                   0.1s
 => => transferring context: 2B                                                                                                                                                                        0.0s 
 => [hoppscotch-backend internal] load metadata for docker.io/library/node:18.8.0                                                                                                                      0.4s 
 => [hoppscotch-backend builder 1/9] FROM docker.io/library/node:18.8.0@sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37                                                       26.6s
 => => resolve docker.io/library/node:18.8.0@sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37                                                                                   0.0s 
 => => sha256:ac3dcfe39c7e20f85479935fc56f7b59ce270289fac6de229a3e48bf697e0438 7.74kB / 7.74kB                                                                                                         0.0s
 => => sha256:1671565cc8df8c365c9b661d3fbc164e73d01f1b0430c6179588428f99a9da2e 55.01MB / 55.01MB                                                                                                       1.4s
 => => sha256:5c918be3339c8460d13a38e2fc7c027af1cab382b36561f90d3c03342fa866a4 2.21kB / 2.21kB                                                                                                         0.0s
 => => sha256:3e94d13e55e7a4ef17ff21376f57fb95c7e1706931f8704aa99260968d81f6e4 5.16MB / 5.16MB                                                                                                         0.4s
 => => sha256:fa9c7528c685216129e8e67bf362a7702e7b1daa585ab85546a41508830657d6 10.88MB / 10.88MB                                                                                                       0.6s
 => => sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37 1.21kB / 1.21kB                                                                                                         0.0s
 => => sha256:53ad072f9cd16fc8eb93b182b20e758e11acc0ef60babef0bf1043c08de1901a 54.58MB / 54.58MB                                                                                                       1.8s 
 => => sha256:d6b983117533b718374f1701ef593dd2afa6613c7908c6553be8e2a150e6448a 196.79MB / 196.79MB                                                                                                     5.6s 
 => => extracting sha256:1671565cc8df8c365c9b661d3fbc164e73d01f1b0430c6179588428f99a9da2e                                                                                                              4.3s 
 => => sha256:56b8d2414e53ff02332236f98f75f8567ca67c15ba6a54d51cd2af67d9ff7b3d 44.59MB / 44.59MB                                                                                                       3.1s 
 => => sha256:eac9917c33166d61d48815a6553534cc6bf37fd1b0c9a00e9ac8b67aca5e9f78 4.20kB / 4.20kB                                                                                                         1.9s
 => => sha256:8342b6d78d6f90bd17a1f175c9b1db68164b588db5634b1e76613246cec339e7 2.29MB / 2.29MB                                                                                                         2.2s 
 => => sha256:52437043774da619887cd3171871ba3bfa74e72e118d306472978de6452dc67f 451B / 451B                                                                                                             2.2s 
 => => extracting sha256:3e94d13e55e7a4ef17ff21376f57fb95c7e1706931f8704aa99260968d81f6e4                                                                                                              0.3s 
 => => extracting sha256:fa9c7528c685216129e8e67bf362a7702e7b1daa585ab85546a41508830657d6                                                                                                              0.3s 
 => => extracting sha256:53ad072f9cd16fc8eb93b182b20e758e11acc0ef60babef0bf1043c08de1901a                                                                                                              3.6s 
 => => extracting sha256:d6b983117533b718374f1701ef593dd2afa6613c7908c6553be8e2a150e6448a                                                                                                             10.4s 
 => => extracting sha256:eac9917c33166d61d48815a6553534cc6bf37fd1b0c9a00e9ac8b67aca5e9f78                                                                                                              0.0s 
 => => extracting sha256:56b8d2414e53ff02332236f98f75f8567ca67c15ba6a54d51cd2af67d9ff7b3d                                                                                                              3.5s
 => => extracting sha256:8342b6d78d6f90bd17a1f175c9b1db68164b588db5634b1e76613246cec339e7                                                                                                              0.1s 
 => => extracting sha256:52437043774da619887cd3171871ba3bfa74e72e118d306472978de6452dc67f                                                                                                              0.0s 
 => [hoppscotch-backend internal] load build context                                                                                                                                                   0.4s 
 => => transferring context: 2.82MB                                                                                                                                                                    0.3s 
 => [hoppscotch-backend builder 2/9] WORKDIR /usr/src/app                                                                                                                                              1.5s 
 => [hoppscotch-backend builder 3/9] RUN npm i -g pnpm                                                                                                                                                 2.4s 
 => [hoppscotch-backend builder 4/9] COPY .env .                                                                                                                                                       0.1s 
 => [hoppscotch-backend builder 5/9] COPY pnpm-lock.yaml .                                                                                                                                             0.1s 
 => [hoppscotch-backend builder 6/9] RUN pnpm fetch                                                                                                                                                   78.8s 
 => [hoppscotch-backend builder 7/9] COPY ./packages/hoppscotch-backend .                                                                                                                              1.1s 
 => [hoppscotch-backend builder 8/9] RUN pnpm i --filter hoppscotch-backend                                                                                                                           47.3s 
 => [hoppscotch-backend builder 9/9] RUN pnpm exec prisma generate                                                                                                                                     3.5s 
 => [hoppscotch-backend] exporting to image                                                                                                                                                          148.3s 
 => => exporting layers                                                                                                                                                                              148.3s 
 => => writing image sha256:31709116885c587ccbc56f343d35e5493aa25239d95da773c06411a64055be0b                                                                                                           0.0s 
 => => naming to docker.io/library/hoppscotch-hoppscotch-backend                                                                                                                                       0.0s 
 => [hoppscotch-sh-admin internal] load build definition from Dockerfile                                                                                                                               0.0s 
 => => transferring dockerfile: 505B                                                                                                                                                                   0.0s
 => [hoppscotch-sh-admin internal] load .dockerignore                                                                                                                                                  0.2s
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => [hoppscotch-app internal] load build definition from Dockerfile                                                                                                                                    0.3s
 => => transferring dockerfile: 517B                                                                                                                                                                   0.0s 
 => [hoppscotch-app internal] load .dockerignore                                                                                                                                                       0.2s 
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => [hoppscotch-app internal] load metadata for docker.io/library/caddy:2-alpine                                                                                                                       0.4s
 => [hoppscotch-app internal] load metadata for docker.io/library/node:lts                                                                                                                             0.3s
 => CANCELED [hoppscotch-app builder 1/7] FROM docker.io/library/node:lts@sha256:8cdf7234449f35e579f7491137807ddb3a089f028862f7ab69af437cc9f47ff1                                                     81.6s
 => => resolve docker.io/library/node:lts@sha256:8cdf7234449f35e579f7491137807ddb3a089f028862f7ab69af437cc9f47ff1                                                                                      0.0s
 => => sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 15.76MB / 15.76MB                                                                                                       1.3s
 => => sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 54.58MB / 54.58MB                                                                                                       2.2s
 => => sha256:468ce1d592311c66820e29954d878ba9ce4aa03f9e621a18dca17215c00c5f26 2.00kB / 2.00kB                                                                                                         0.0s
 => => sha256:78b037dbb659142a12986b522897824ab60209d194a336c15a5006a55fffe9b0 7.23kB / 7.23kB                                                                                                         0.0s
 => => sha256:8cdf7234449f35e579f7491137807ddb3a089f028862f7ab69af437cc9f47ff1 1.21kB / 1.21kB                                                                                                         0.0s
 => => sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 55.05MB / 55.05MB                                                                                                       1.7s
 => => sha256:c1e5026c64577dee4b6bac20b18196f964a41d8b9016fbbbada0c70b601cd5bf 196.85MB / 196.85MB                                                                                                    18.3s
 => => extracting sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474                                                                                                              9.1s
 => => sha256:f2e4b4cbd0b8a554057e4c702cf430b30539db4912a84068ecc6317d91f6923f 4.20kB / 4.20kB                                                                                                         2.3s
 => => sha256:06cfeca21bcd279a884c9e3ba55a11ac00881c6e0ed5cdf820eab0e6f2db63dd 45.52MB / 45.52MB                                                                                                       3.9s
 => => sha256:cb6259d61adeb5011095ec00dd5009936cc6d88738799f4ca17952dbc90d20d1 2.28MB / 2.28MB                                                                                                         2.5s
 => => sha256:e7ad8f1516a19fe9d5eea72310c7f51dd2cff6ddd72205f6a873af87550a7647 452B / 452B                                                                                                             2.6s
 => => extracting sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff                                                                                                              1.8s
 => => extracting sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d                                                                                                              8.1s
 => => extracting sha256:c1e5026c64577dee4b6bac20b18196f964a41d8b9016fbbbada0c70b601cd5bf                                                                                                             54.9s
 => [hoppscotch-app stage-1 1/4] FROM docker.io/library/caddy:2-alpine@sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a                                                        19.2s
 => => resolve docker.io/library/caddy:2-alpine@sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a                                                                                0.0s
 => => sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a 1.43kB / 1.43kB                                                                                                         0.0s
 => => sha256:5acae6b87b26a591d6d14ec2704b7f2cd94b888ad62af16a02356d3124198ede 1.16kB / 1.16kB                                                                                                         0.0s
 => => sha256:86ab4e60cac2e943fc115f5a9ec4f7b91ee165fbabc01b3f00963ce6319d1101 7.79kB / 7.79kB                                                                                                         0.0s
 => => sha256:91d30c5bc19582de1415b18f1ec5bcbf52a558b62cf6cc201c9669df9f748c22 2.81MB / 2.81MB                                                                                                         2.9s
 => => extracting sha256:91d30c5bc19582de1415b18f1ec5bcbf52a558b62cf6cc201c9669df9f748c22                                                                                                              0.6s
 => => sha256:7f137c1fd65aa258552c9e586c735e093ab17bfd56f8b955a45368f75d9dd186 351.17kB / 351.17kB                                                                                                     3.0s
 => => sha256:123731571dfc917eae08527f983c1f454a9fed97dd0454272dbd89c24e8a32c7 7.56kB / 7.56kB                                                                                                         3.1s
 => => sha256:9ab4cbb8b7b7cfb79fecb20ac12ecf5d3d8cc9c9fe1d05c4dad071564f4748b6 14.28MB / 14.28MB                                                                                                       4.0s
 => => extracting sha256:7f137c1fd65aa258552c9e586c735e093ab17bfd56f8b955a45368f75d9dd186                                                                                                              0.2s
 => => extracting sha256:123731571dfc917eae08527f983c1f454a9fed97dd0454272dbd89c24e8a32c7                                                                                                              0.0s
 => => extracting sha256:9ab4cbb8b7b7cfb79fecb20ac12ecf5d3d8cc9c9fe1d05c4dad071564f4748b6                                                                                                              1.9s
 => ERROR [hoppscotch-sh-admin internal] load build context                                                                                                                                           77.1s
 => => transferring context: 604.17MB                                                                                                                                                                 76.8s
 => ERROR [hoppscotch-app internal] load build context                                                                                                                                                77.8s
 => => transferring context: 604.02MB                                                                                                                                                                 76.8s
 => [hoppscotch-app stage-1 2/4] WORKDIR /site                                                                                                                                                        64.1s
------
 > [hoppscotch-sh-admin internal] load build context:
------
------
 > [hoppscotch-app internal] load build context:
------

<!-- gh-comment-id:1575701209 --> @mir1198yusuf commented on GitHub (Jun 4, 2023): @balub The error while running `docker compose build` is below ``` [+] Building 0.0s (0/0) [+] Building 0.0s (0/0) [+] Building 318.2s (20/39) [+] Building 394.5s (25/39) => [hoppscotch-backend internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 558B 0.0s => [hoppscotch-backend internal] load .dockerignore 0.1s => => transferring context: 2B 0.0s => [hoppscotch-backend internal] load metadata for docker.io/library/node:18.8.0 0.4s => [hoppscotch-backend builder 1/9] FROM docker.io/library/node:18.8.0@sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37 26.6s => => resolve docker.io/library/node:18.8.0@sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37 0.0s => => sha256:ac3dcfe39c7e20f85479935fc56f7b59ce270289fac6de229a3e48bf697e0438 7.74kB / 7.74kB 0.0s => => sha256:1671565cc8df8c365c9b661d3fbc164e73d01f1b0430c6179588428f99a9da2e 55.01MB / 55.01MB 1.4s => => sha256:5c918be3339c8460d13a38e2fc7c027af1cab382b36561f90d3c03342fa866a4 2.21kB / 2.21kB 0.0s => => sha256:3e94d13e55e7a4ef17ff21376f57fb95c7e1706931f8704aa99260968d81f6e4 5.16MB / 5.16MB 0.4s => => sha256:fa9c7528c685216129e8e67bf362a7702e7b1daa585ab85546a41508830657d6 10.88MB / 10.88MB 0.6s => => sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37 1.21kB / 1.21kB 0.0s => => sha256:53ad072f9cd16fc8eb93b182b20e758e11acc0ef60babef0bf1043c08de1901a 54.58MB / 54.58MB 1.8s => => sha256:d6b983117533b718374f1701ef593dd2afa6613c7908c6553be8e2a150e6448a 196.79MB / 196.79MB 5.6s => => extracting sha256:1671565cc8df8c365c9b661d3fbc164e73d01f1b0430c6179588428f99a9da2e 4.3s => => sha256:56b8d2414e53ff02332236f98f75f8567ca67c15ba6a54d51cd2af67d9ff7b3d 44.59MB / 44.59MB 3.1s => => sha256:eac9917c33166d61d48815a6553534cc6bf37fd1b0c9a00e9ac8b67aca5e9f78 4.20kB / 4.20kB 1.9s => => sha256:8342b6d78d6f90bd17a1f175c9b1db68164b588db5634b1e76613246cec339e7 2.29MB / 2.29MB 2.2s => => sha256:52437043774da619887cd3171871ba3bfa74e72e118d306472978de6452dc67f 451B / 451B 2.2s => => extracting sha256:3e94d13e55e7a4ef17ff21376f57fb95c7e1706931f8704aa99260968d81f6e4 0.3s => => extracting sha256:fa9c7528c685216129e8e67bf362a7702e7b1daa585ab85546a41508830657d6 0.3s => => extracting sha256:53ad072f9cd16fc8eb93b182b20e758e11acc0ef60babef0bf1043c08de1901a 3.6s => => extracting sha256:d6b983117533b718374f1701ef593dd2afa6613c7908c6553be8e2a150e6448a 10.4s => => extracting sha256:eac9917c33166d61d48815a6553534cc6bf37fd1b0c9a00e9ac8b67aca5e9f78 0.0s => => extracting sha256:56b8d2414e53ff02332236f98f75f8567ca67c15ba6a54d51cd2af67d9ff7b3d 3.5s => => extracting sha256:8342b6d78d6f90bd17a1f175c9b1db68164b588db5634b1e76613246cec339e7 0.1s => => extracting sha256:52437043774da619887cd3171871ba3bfa74e72e118d306472978de6452dc67f 0.0s => [hoppscotch-backend internal] load build context 0.4s => => transferring context: 2.82MB 0.3s => [hoppscotch-backend builder 2/9] WORKDIR /usr/src/app 1.5s => [hoppscotch-backend builder 3/9] RUN npm i -g pnpm 2.4s => [hoppscotch-backend builder 4/9] COPY .env . 0.1s => [hoppscotch-backend builder 5/9] COPY pnpm-lock.yaml . 0.1s => [hoppscotch-backend builder 6/9] RUN pnpm fetch 78.8s => [hoppscotch-backend builder 7/9] COPY ./packages/hoppscotch-backend . 1.1s => [hoppscotch-backend builder 8/9] RUN pnpm i --filter hoppscotch-backend 47.3s => [hoppscotch-backend builder 9/9] RUN pnpm exec prisma generate 3.5s => [hoppscotch-backend] exporting to image 148.3s => => exporting layers 148.3s => => writing image sha256:31709116885c587ccbc56f343d35e5493aa25239d95da773c06411a64055be0b 0.0s => => naming to docker.io/library/hoppscotch-hoppscotch-backend 0.0s => [hoppscotch-sh-admin internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 505B 0.0s => [hoppscotch-sh-admin internal] load .dockerignore 0.2s => => transferring context: 2B 0.0s => [hoppscotch-app internal] load build definition from Dockerfile 0.3s => => transferring dockerfile: 517B 0.0s => [hoppscotch-app internal] load .dockerignore 0.2s => => transferring context: 2B 0.0s => [hoppscotch-app internal] load metadata for docker.io/library/caddy:2-alpine 0.4s => [hoppscotch-app internal] load metadata for docker.io/library/node:lts 0.3s => CANCELED [hoppscotch-app builder 1/7] FROM docker.io/library/node:lts@sha256:8cdf7234449f35e579f7491137807ddb3a089f028862f7ab69af437cc9f47ff1 81.6s => => resolve docker.io/library/node:lts@sha256:8cdf7234449f35e579f7491137807ddb3a089f028862f7ab69af437cc9f47ff1 0.0s => => sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 15.76MB / 15.76MB 1.3s => => sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 54.58MB / 54.58MB 2.2s => => sha256:468ce1d592311c66820e29954d878ba9ce4aa03f9e621a18dca17215c00c5f26 2.00kB / 2.00kB 0.0s => => sha256:78b037dbb659142a12986b522897824ab60209d194a336c15a5006a55fffe9b0 7.23kB / 7.23kB 0.0s => => sha256:8cdf7234449f35e579f7491137807ddb3a089f028862f7ab69af437cc9f47ff1 1.21kB / 1.21kB 0.0s => => sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 55.05MB / 55.05MB 1.7s => => sha256:c1e5026c64577dee4b6bac20b18196f964a41d8b9016fbbbada0c70b601cd5bf 196.85MB / 196.85MB 18.3s => => extracting sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 9.1s => => sha256:f2e4b4cbd0b8a554057e4c702cf430b30539db4912a84068ecc6317d91f6923f 4.20kB / 4.20kB 2.3s => => sha256:06cfeca21bcd279a884c9e3ba55a11ac00881c6e0ed5cdf820eab0e6f2db63dd 45.52MB / 45.52MB 3.9s => => sha256:cb6259d61adeb5011095ec00dd5009936cc6d88738799f4ca17952dbc90d20d1 2.28MB / 2.28MB 2.5s => => sha256:e7ad8f1516a19fe9d5eea72310c7f51dd2cff6ddd72205f6a873af87550a7647 452B / 452B 2.6s => => extracting sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 1.8s => => extracting sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 8.1s => => extracting sha256:c1e5026c64577dee4b6bac20b18196f964a41d8b9016fbbbada0c70b601cd5bf 54.9s => [hoppscotch-app stage-1 1/4] FROM docker.io/library/caddy:2-alpine@sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a 19.2s => => resolve docker.io/library/caddy:2-alpine@sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a 0.0s => => sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a 1.43kB / 1.43kB 0.0s => => sha256:5acae6b87b26a591d6d14ec2704b7f2cd94b888ad62af16a02356d3124198ede 1.16kB / 1.16kB 0.0s => => sha256:86ab4e60cac2e943fc115f5a9ec4f7b91ee165fbabc01b3f00963ce6319d1101 7.79kB / 7.79kB 0.0s => => sha256:91d30c5bc19582de1415b18f1ec5bcbf52a558b62cf6cc201c9669df9f748c22 2.81MB / 2.81MB 2.9s => => extracting sha256:91d30c5bc19582de1415b18f1ec5bcbf52a558b62cf6cc201c9669df9f748c22 0.6s => => sha256:7f137c1fd65aa258552c9e586c735e093ab17bfd56f8b955a45368f75d9dd186 351.17kB / 351.17kB 3.0s => => sha256:123731571dfc917eae08527f983c1f454a9fed97dd0454272dbd89c24e8a32c7 7.56kB / 7.56kB 3.1s => => sha256:9ab4cbb8b7b7cfb79fecb20ac12ecf5d3d8cc9c9fe1d05c4dad071564f4748b6 14.28MB / 14.28MB 4.0s => => extracting sha256:7f137c1fd65aa258552c9e586c735e093ab17bfd56f8b955a45368f75d9dd186 0.2s => => extracting sha256:123731571dfc917eae08527f983c1f454a9fed97dd0454272dbd89c24e8a32c7 0.0s => => extracting sha256:9ab4cbb8b7b7cfb79fecb20ac12ecf5d3d8cc9c9fe1d05c4dad071564f4748b6 1.9s => ERROR [hoppscotch-sh-admin internal] load build context 77.1s => => transferring context: 604.17MB 76.8s => ERROR [hoppscotch-app internal] load build context 77.8s => => transferring context: 604.02MB 76.8s => [hoppscotch-app stage-1 2/4] WORKDIR /site 64.1s ------ > [hoppscotch-sh-admin internal] load build context: ------ ------ > [hoppscotch-app internal] load build context: ------ ```
Author
Owner

@balub commented on GitHub (Jun 5, 2023):

@mir1198yusuf could you delete the dist folder in the project root and try the process from scratch again?

<!-- gh-comment-id:1576604865 --> @balub commented on GitHub (Jun 5, 2023): @mir1198yusuf could you delete the `dist` folder in the project root and try the process from scratch again?
Author
Owner

@mir1198yusuf commented on GitHub (Jun 6, 2023):

@balub there is no dist folder

ls -a gives this

.                       .gitattributes          CHANGELOG.md            commitlint.config.js    node_modules
..                      .github                 CODEOWNERS              docker-compose.yml      package.json
.devcontainer           .gitignore              CODE_OF_CONDUCT.md      firebase.json           packages
.editorconfig           .husky                  CONTRIBUTING.md         firestore.indexes.json  pnpm-lock.yaml
.env                    .npmrc                  LICENSE                 firestore.rules         pnpm-workspace.yaml
.env.example            .prettierignore         README.md               gql-gen
.firebaserc             .prettierrc.js          SECURITY.md             jsconfig.json
.git                    .vscode                 TRANSLATIONS.md         netlify.toml
<!-- gh-comment-id:1578035020 --> @mir1198yusuf commented on GitHub (Jun 6, 2023): @balub there is no `dist` folder `ls -a` gives this ``` . .gitattributes CHANGELOG.md commitlint.config.js node_modules .. .github CODEOWNERS docker-compose.yml package.json .devcontainer .gitignore CODE_OF_CONDUCT.md firebase.json packages .editorconfig .husky CONTRIBUTING.md firestore.indexes.json pnpm-lock.yaml .env .npmrc LICENSE firestore.rules pnpm-workspace.yaml .env.example .prettierignore README.md gql-gen .firebaserc .prettierrc.js SECURITY.md jsconfig.json .git .vscode TRANSLATIONS.md netlify.toml ```
Author
Owner

@balub commented on GitHub (Jun 6, 2023):

Im sorry can you look for it in packages/hoppscotch-backend directory.

<!-- gh-comment-id:1578111988 --> @balub commented on GitHub (Jun 6, 2023): Im sorry can you look for it in `packages/hoppscotch-backend` directory.
Author
Owner

@mir1198yusuf commented on GitHub (Jun 6, 2023):

@balub I dont have that old instance now, let me start again fresh & revert with updates. I might fall to the same issue as beginning but lets see

<!-- gh-comment-id:1578222739 --> @mir1198yusuf commented on GitHub (Jun 6, 2023): @balub I dont have that old instance now, let me start again fresh & revert with updates. I might fall to the same issue as beginning but lets see
Author
Owner

@mir1198yusuf commented on GitHub (Jun 6, 2023):

Just done with pnpm install step, same logs like this i.e. one error and one warn https://github.com/hoppscotch/hoppscotch/issues/3111#issuecomment-1575696342

<!-- gh-comment-id:1578231821 --> @mir1198yusuf commented on GitHub (Jun 6, 2023): Just done with `pnpm install` step, same logs like this i.e. one error and one warn https://github.com/hoppscotch/hoppscotch/issues/3111#issuecomment-1575696342
Author
Owner

@mir1198yusuf commented on GitHub (Jun 6, 2023):

This time , during docker compose build, got this error

 => ERROR [hoppscotch-app builder 4/7] COPY . .                                                                                                                                                       16.7s
------
 > [hoppscotch-app builder 4/7] COPY . .:
------
failed to solve: failed to copy files: userspace copy failed: write /var/lib/docker/overlay2/3leg4yqj0fw92cbowusmid1b8/merged/usr/src/app/node_modules/.pnpm/@swc+core-linux-x64-gnu@1.2.213/node_modules/@swc/core-linux-x64-gnu/swc: no space left on device

I used 12gb root volume how much does it needs ?
@balub

<!-- gh-comment-id:1578244418 --> @mir1198yusuf commented on GitHub (Jun 6, 2023): This time , during `docker compose build`, got this error ``` => ERROR [hoppscotch-app builder 4/7] COPY . . 16.7s ------ > [hoppscotch-app builder 4/7] COPY . .: ------ failed to solve: failed to copy files: userspace copy failed: write /var/lib/docker/overlay2/3leg4yqj0fw92cbowusmid1b8/merged/usr/src/app/node_modules/.pnpm/@swc+core-linux-x64-gnu@1.2.213/node_modules/@swc/core-linux-x64-gnu/swc: no space left on device ``` I used 12gb root volume how much does it needs ? @balub
Author
Owner

@balub commented on GitHub (Jun 6, 2023):

You can run docker system prune to clear some space for you, however, it may eliminate other dependencies outside this project so just be careful when you run it.

<!-- gh-comment-id:1578263214 --> @balub commented on GitHub (Jun 6, 2023): You can run `docker system prune` to clear some space for you, however, it may eliminate other dependencies outside this project so just be careful when you run it.
Author
Owner

@mir1198yusuf commented on GitHub (Jun 6, 2023):

@balub I increased to 20 gb and it reached till this point in docker compose build

=> [hoppscotch-sh-admin builder 7/7] RUN pnpm run build                                                                                                                                              20.4s
 => [hoppscotch-sh-admin stage-1 4/4] COPY --from=builder /usr/src/app/packages/hoppscotch-sh-admin/dist/ .                                                                                            0.1s
 => [hoppscotch-sh-admin] exporting to image                                                                                                                                                           0.1s
 => => exporting layers                                                                                                                                                                                0.1s 
 => => writing image sha256:8c58fcad506db632b838338a748efcf2d154afd2e803c9f20e2e87b3a99a955f                                                                                                           0.0s 
 => => naming to docker.io/library/hoppscotch-hoppscotch-sh-admin   

But now it used all ram and instance is freezed
I am using 4gb ram, 2 vcpu instance

<!-- gh-comment-id:1578265440 --> @mir1198yusuf commented on GitHub (Jun 6, 2023): @balub I increased to 20 gb and it reached till this point in `docker compose build` ``` => [hoppscotch-sh-admin builder 7/7] RUN pnpm run build 20.4s => [hoppscotch-sh-admin stage-1 4/4] COPY --from=builder /usr/src/app/packages/hoppscotch-sh-admin/dist/ . 0.1s => [hoppscotch-sh-admin] exporting to image 0.1s => => exporting layers 0.1s => => writing image sha256:8c58fcad506db632b838338a748efcf2d154afd2e803c9f20e2e87b3a99a955f 0.0s => => naming to docker.io/library/hoppscotch-hoppscotch-sh-admin ``` But now it used all ram and instance is freezed I am using 4gb ram, 2 vcpu instance
Author
Owner

@balub commented on GitHub (Jun 6, 2023):

We recommend using atleast 16gb of ram when building the containers.

<!-- gh-comment-id:1578267614 --> @balub commented on GitHub (Jun 6, 2023): We recommend [using](https://docs.hoppscotch.io/documentation/self-host/prerequisites#system-requirements) atleast 16gb of ram when building the containers.
Author
Owner

@mir1198yusuf commented on GitHub (Jun 6, 2023):

16 gb is too much , not sure how to manage this
pre-built images are not available for hoppscotch ?
I just want to self-host
@balub

<!-- gh-comment-id:1578270033 --> @mir1198yusuf commented on GitHub (Jun 6, 2023): 16 gb is too much , not sure how to manage this pre-built images are not available for hoppscotch ? I just want to self-host @balub
Author
Owner

@balub commented on GitHub (Jun 6, 2023):

We currently do not have pre-built images for our first release, rest assured we are looking into ways to make it easier for folks to get their instance up and running.

<!-- gh-comment-id:1578273122 --> @balub commented on GitHub (Jun 6, 2023): We currently do not have pre-built images for our first release, rest assured we are looking into ways to make it easier for folks to get their instance up and running.
Author
Owner

@mir1198yusuf commented on GitHub (Jun 6, 2023):

@balub okay will wait for it then, hoppscotch was seemingly good as an alternative to postman, and can run on 4gb ram too.
Just if pre-built images could be available , it would be better.

Also any issue in this regard which I can follow ?

<!-- gh-comment-id:1578275887 --> @mir1198yusuf commented on GitHub (Jun 6, 2023): @balub okay will wait for it then, hoppscotch was seemingly good as an alternative to postman, and can run on 4gb ram too. Just if pre-built images could be available , it would be better. Also any issue in this regard which I can follow ?
Author
Owner

@talenta-eg commented on GitHub (Jun 8, 2023):

Same issue !! Any Solution

<!-- gh-comment-id:1583619299 --> @talenta-eg commented on GitHub (Jun 8, 2023): Same issue !! Any Solution
Author
Owner

@mir1198yusuf commented on GitHub (Jun 9, 2023):

@liyasthomas check all comments, i was able to reach further till docker compose build on Ubuntu

but then found it needs 16gb ram for this command to complete, so stuck

<!-- gh-comment-id:1584733629 --> @mir1198yusuf commented on GitHub (Jun 9, 2023): @liyasthomas check all comments, i was able to reach further till `docker compose build` on Ubuntu but then found it needs 16gb ram for this command to complete, so stuck
Author
Owner

@liyasthomas commented on GitHub (Jun 9, 2023):

Docker Compose can require a significant amount of memory, especially if you're working with multiple containers. Since a segment of users encountered an issue while running the docker compose build command due to insufficient RAM, we're prioritizing this issue.

While we review our Docker configuration and check if there are any optimizations we can make to reduce resource consumption, please stay patient and subscribe to this issue thread to get notified about product updates.

<!-- gh-comment-id:1584860797 --> @liyasthomas commented on GitHub (Jun 9, 2023): Docker Compose can require a significant amount of memory, especially if you're working with multiple containers. Since a segment of users encountered an issue while running the docker compose build command due to insufficient RAM, we're prioritizing this issue. While we review our Docker configuration and check if there are any optimizations we can make to reduce resource consumption, please stay patient and subscribe to this issue thread to get notified about product updates.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1024
No description provided.