mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2022] [bug]: We tried to deploy on our Firebase account but build failing on local machine and Gitlab CI integration both #660
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#660
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pietechsolution on GitHub (Dec 17, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2022
Originally assigned to: @AndrewBastin on GitHub.
Is there an existing issue for this?
Current behavior
We tried to run the local machine and Gitlab runner but the result same in both places. We tried to 2-3 Version also for nodejs like 16 or 17 and 14 too but their lots error we getting, Please help to find the real cause with this Error log.
`[0KRunning with gitlab-runner 14.4.0 (4b9e985a)[0;m
[0K on ionicfirebaseapp sLqjNQtU[0;m
section_start:1639722315:prepare_executor
[0K[0K[36;1mPreparing the "docker" executor[0;m[0;m
[0KUsing Docker executor with image node:16 ...[0;m
[0KUsing locally found image version due to "if-not-present" pull policy[0;m
[0KUsing docker image sha256:affe728e127a4ac1f1016203172a2b532001a8ae93d352c18038fbe2cc600f31 for node:16 with digest node@sha256:89b59ce49929d8a8e230946bdb1b58c14cdbbb86c9a7397610afcecfce1be035 ...[0;m
section_end:1639722317:prepare_executor
[0Ksection_start:1639722317:prepare_script
[0K[0K[36;1mPreparing environment[0;m[0;m
Running on runner-slqjnqtu-project-32173509-concurrent-0 via ip-172-31-45-53...
section_end:1639722318:prepare_script
[0Ksection_start:1639722318:get_sources
[0K[0K[36;1mGetting source from Git repository[0;m[0;m
[32;1mFetching changes with git depth set to 50...[0;m
Reinitialized existing Git repository in /builds/ionicfirebaseapp/apidocs/.git/
[32;1mChecking out 5a2ccb1e as main...[0;m
[32;1mSkipping Git submodules setup[0;m
section_end:1639722320:get_sources
[0Ksection_start:1639722320:step_script
[0K[0K[36;1mExecuting "step_script" stage of the job script[0;m[0;m
[0KUsing docker image sha256:affe728e127a4ac1f1016203172a2b532001a8ae93d352c18038fbe2cc600f31 for node:16 with digest node@sha256:89b59ce49929d8a8e230946bdb1b58c14cdbbb86c9a7397610afcecfce1be035 ...[0;m
[32;1m$ npm install -g node-gyp[0;m
added 90 packages, and audited 91 packages in 6s
4 packages are looking for funding
run
npm fundfor detailsfound 0 vulnerabilities
[32;1m$ npm install -g pnpm[0;m
added 1 package, and audited 2 packages in 1s
1 package is looking for funding
run
npm fundfor detailsfound 0 vulnerabilities
[32;1m$ pnpm install --unsafe-perm=true[0;m
Scope: all 5 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 29, reused 0, downloaded 0, added 0
Progress: resolved 40, reused 5, downloaded 0, added 0
Progress: resolved 75, reused 75, downloaded 0, added 0
Progress: resolved 94, reused 93, downloaded 0, added 0
Progress: resolved 125, reused 125, downloaded 0, added 0
Progress: resolved 287, reused 243, downloaded 0, added 0
Progress: resolved 397, reused 249, downloaded 0, added 0
Progress: resolved 524, reused 523, downloaded 0, added 0
Progress: resolved 549, reused 533, downloaded 0, added 0
Progress: resolved 600, reused 599, downloaded 0, added 0
Progress: resolved 809, reused 720, downloaded 0, added 0
Progress: resolved 1030, reused 939, downloaded 0, added 0
Progress: resolved 1162, reused 1114, downloaded 0, added 0
Progress: resolved 1238, reused 1127, downloaded 0, added 0
Progress: resolved 1638, reused 1141, downloaded 0, added 0
Progress: resolved 2101, reused 1142, downloaded 0, added 0
Packages: +2183
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 2198, reused 1186, downloaded 0, added 0
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /builds/.pnpm-store/v3
Virtual store is at: node_modules/.pnpm
Progress: resolved 2198, reused 1374, downloaded 0, added 272
Progress: resolved 2198, reused 1595, downloaded 0, added 834
Progress: resolved 2198, reused 1731, downloaded 0, added 1141
Progress: resolved 2198, reused 2180, downloaded 0, added 2183, done
.../deasync@0.1.24/node_modules/deasync install$ node ./build.js
.../core-js@2.6.12/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
.../core-js@3.20.0/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
.../core-js@3.6.5/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
.../deasync@0.1.24/node_modules/deasync install:
linux-x64-node-16exists; testing.../core-js@3.20.0/node_modules/core-js postinstall: Done
.../core-js@2.6.12/node_modules/core-js postinstall: Done
.../esbuild@0.12.29/node_modules/esbuild postinstall$ node install.js
.../deasync@0.1.24/node_modules/deasync install: Binary is fine; exiting
.../core-js@3.6.5/node_modules/core-js postinstall: Done
.../deasync@0.1.24/node_modules/deasync install: Done
.../node_modules/protobufjs postinstall$ node scripts/postinstall
.../node_modules/protobufjs postinstall: Done
.../esbuild@0.12.29/node_modules/esbuild postinstall: Done
.../esbuild@0.14.5/node_modules/esbuild postinstall$ node install.js
.../esbuild@0.14.5/node_modules/esbuild postinstall: Done
.../node_modules/nuxt postinstall$ opencollective || exit 0
.../node_modules/nuxt postinstall: Done
dependencies:
devDependencies:
WARN Issues with peer dependencies found
packages/hoppscotch-app
├─┬ @nuxt/types
│ └─┬ sass-loader
│ └── ✕ missing peer webpack@"^4.36.0 || ^5.0.0"
├─┬ @nuxt/typescript-build
│ ├─┬ fork-ts-checker-webpack-plugin
│ │ ├── ✕ missing peer webpack@">= 4"
│ │ └── ✕ missing peer vue-template-compiler@*
│ └─┬ ts-loader
│ └── ✕ missing peer webpack@*
├─┬ @nuxtjs/eslint-module
│ └─┬ eslint-webpack-plugin
│ └── ✕ missing peer webpack@"^4.0.0 || ^5.0.0"
├─┬ @nuxtjs/stylelint-module
│ ├── ✕ missing peer webpack@"^4.0.0 || ^5.0.0"
│ └─┬ stylelint-webpack-plugin
│ └── ✕ missing peer webpack@"^4.0.0 || ^5.0.0"
├─┬ @nuxtjs/svg
│ ├─┬ file-loader
│ │ └── ✕ missing peer webpack@"^4.0.0 || ^5.0.0"
│ ├─┬ raw-loader
│ │ └── ✕ missing peer webpack@"^4.0.0 || ^5.0.0"
│ ├─┬ url-loader
│ │ └── ✕ missing peer webpack@"^4.0.0 || ^5.0.0"
│ ├─┬ vue-svg-loader
│ │ ├── ✕ missing peer vue-template-compiler@^2.0.0
│ │ └─┬ svg-to-vue
│ │ └── ✕ missing peer vue-template-compiler@^2.0.0
│ └─┬ svg-sprite-loader
│ └─┬ svg-baker
│ └─┬ postcss-prefix-selector
│ └── ✕ unmet peer postcss@"7.x || 8.x": found 5.2.18
├─┬ sass-loader
│ └── ✕ missing peer webpack@"^4.36.0 || ^5.0.0"
├─┬ worker-loader
│ └── ✕ missing peer webpack@"^4.0.0 || ^5.0.0"
├─┬ @nuxtjs/composition-api
│ ├── ✕ missing peer vue@^2
│ ├── ✕ missing peer @nuxt/vue-app@^2.15
│ ├─┬ unplugin-vue2-script-setup
│ │ └─┬ unplugin
│ │ ├── ✕ missing peer webpack@"4 || 5"
│ │ └── ✕ missing peer vite@^2.3.0
│ └─┬ @vue/composition-api
│ └── ✕ missing peer vue@">= 2.5 < 3"
├─┬ @vue/test-utils
│ ├── ✕ missing peer vue-template-compiler@^2.x
│ └── ✕ missing peer vue@2.x
├─┬ vue-jest
│ ├── ✕ missing peer vue-template-compiler@^2.x
│ └── ✕ missing peer vue@^2.x
├─┬ @nuxtjs/eslint-config-typescript
│ ├─┬ eslint-import-resolver-typescript
│ │ └── ✕ missing peer eslint-plugin-import@*
│ └─┬ @nuxtjs/eslint-config
│ ├─┬ eslint-config-standard
│ │ └── ✕ unmet peer eslint@^7.12.1: found 8.4.1
│ └─┬ eslint-plugin-promise
│ └── ✕ unmet peer eslint@^7.0.0: found 8.4.1
├─┬ vue-tippy
│ └── ✕ missing peer vue@^2.5.9
├─┬ nuxt-windicss
│ └─┬ vite-plugin-windicss
│ └── ✕ missing peer vite@^2.0.1
├─┬ stylelint-config-standard-scss
│ └─┬ stylelint-config-recommended-scss
│ └─┬ postcss-scss
│ └── ✕ missing peer postcss@^8.3.3
└─┬ nuxt
└─┬ @nuxt/components
└── ✕ missing peer consola@*
Peer dependencies that should be installed:
@nuxt/vue-app@^2.15
consola@*
eslint-plugin-import@*
postcss@^8.3.3
vite@">=2.3.0 <3.0.0"
vue-template-compiler@">=2.0.0 <3.0.0"
vue@">=2.5.9 <3.0.0"
webpack@">=4.36.0 <5.0.0 || >=5.0.0 <6.0.0"
packages/codemirror-lang-graphql prepare$ rollup -c
packages/hoppscotch-data prepare$ tsup src --dts
packages/hoppscotch-js-sandbox postinstall$ pnpm run build
. prepare$ husky install
. prepare: husky - Git hooks installed
. prepare: Done
packages/hoppscotch-data prepare: CLI Building entry: src/index.ts, src/graphql/index.ts, src/rest/HoppRESTAuth.ts, src/rest/content-types.ts, src/rest/index.ts
packages/hoppscotch-data prepare: CLI Using tsconfig: tsconfig.json
packages/hoppscotch-data prepare: CLI tsup v5.11.6
packages/hoppscotch-data prepare: CLI Using tsup config: /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-data/tsup.config.ts
packages/hoppscotch-data prepare: CLI Target: node12
packages/hoppscotch-data prepare: CLI Cleaning output folder
packages/hoppscotch-data prepare: CJS Build start
packages/hoppscotch-data prepare: CJS ⚡️ Build success in 20ms
packages/hoppscotch-data prepare: CJS dist/index.js 836.00 B
packages/hoppscotch-data prepare: CJS dist/graphql/index.js 298.00 B
packages/hoppscotch-data prepare: CJS dist/rest/HoppRESTAuth.js 46.00 B
packages/hoppscotch-data prepare: CJS dist/chunk-DNUWERDR.js 809.00 B
packages/hoppscotch-data prepare: CJS dist/rest/content-types.js 230.00 B
packages/hoppscotch-data prepare: CJS dist/rest/index.js 650.00 B
packages/hoppscotch-data prepare: CJS dist/chunk-JXFTBSCK.js 2.51 KB
packages/hoppscotch-data prepare: CJS dist/chunk-LZ75CAKS.js 13.00 B
packages/hoppscotch-data prepare: CJS dist/chunk-SKRY5AMB.js 481.00 B
packages/hoppscotch-data prepare: CJS dist/chunk-JUWXSDKJ.js 1010.00 B
packages/hoppscotch-js-sandbox postinstall: > @hoppscotch/js-sandbox@1.0.0 build /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-js-sandbox
packages/hoppscotch-js-sandbox postinstall: > npx tsc
packages/hoppscotch-data prepare: DTS Build start
packages/codemirror-lang-graphql prepare:
packages/codemirror-lang-graphql prepare: src/index.js → dist/index.cjs, ./dist...
packages/hoppscotch-data prepare: DTS ⚡️ Build success in 9728ms
packages/hoppscotch-data prepare: DTS dist/index.d.ts 540.00 B
packages/hoppscotch-data prepare: DTS dist/rest/index.d.ts 1.72 KB
packages/hoppscotch-data prepare: DTS dist/graphql/index.d.ts 568.00 B
packages/hoppscotch-data prepare: DTS dist/rest/content-types.d.ts 462.00 B
packages/hoppscotch-data prepare: DTS dist/rest/HoppRESTAuth.d.ts 693.00 B
packages/hoppscotch-data prepare: Done
packages/codemirror-lang-graphql prepare: created dist/index.cjs, ./dist in 11.8s
packages/codemirror-lang-graphql prepare: Done
packages/hoppscotch-js-sandbox postinstall: Done
packages/hoppscotch-app postinstall$ pnpm run gql-codegen
packages/hoppscotch-app postinstall: > hoppscotch-app@2.1.0 gql-codegen /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app
packages/hoppscotch-app postinstall: > graphql-codegen --config gql-codegen.yml
packages/hoppscotch-app postinstall: (node:246) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
packages/hoppscotch-app postinstall: (Use
node --trace-warnings ...to show where the warning was created)packages/hoppscotch-app postinstall: [06:26:13] Parse configuration [started]
packages/hoppscotch-app postinstall: [06:26:13] Parse configuration [completed]
packages/hoppscotch-app postinstall: [06:26:13] Generate outputs [started]
packages/hoppscotch-app postinstall: [06:26:13] Generate helpers/backend/graphql.ts [started]
packages/hoppscotch-app postinstall: [06:26:13] Generate helpers/backend/backend-schema.json [started]
packages/hoppscotch-app postinstall: [06:26:13] Load GraphQL schemas [started]
packages/hoppscotch-app postinstall: [06:26:13] Load GraphQL schemas [started]
packages/hoppscotch-app postinstall: (node:246) ExperimentalWarning: buffer.Blob is an experimental feature. This feature could change at any time
packages/hoppscotch-app postinstall: [06:26:13] Load GraphQL schemas [completed]
packages/hoppscotch-app postinstall: [06:26:13] Load GraphQL documents [started]
packages/hoppscotch-app postinstall: [06:26:13] Load GraphQL schemas [completed]
packages/hoppscotch-app postinstall: [06:26:13] Load GraphQL documents [started]
packages/hoppscotch-app postinstall: [06:26:13] Load GraphQL documents [completed]
packages/hoppscotch-app postinstall: [06:26:13] Generate [started]
packages/hoppscotch-app postinstall: [06:26:13] Generate [completed]
packages/hoppscotch-app postinstall: [06:26:13] Generate helpers/backend/backend-schema.json [completed]
packages/hoppscotch-app postinstall: [06:26:14] Load GraphQL documents [completed]
packages/hoppscotch-app postinstall: [06:26:14] Generate [started]
packages/hoppscotch-app postinstall: [06:26:14] Generate [failed]
packages/hoppscotch-app postinstall: [06:26:14] → GraphQL Document Validation failed with 32 errors;
packages/hoppscotch-app postinstall: Error 0: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/AcceptTeamInvitation.graphql:46:18
packages/hoppscotch-app postinstall: Error 1: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/CreateShortcode.graphql:46:18
packages/hoppscotch-app postinstall: Error 2: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/CreateTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 3: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/CreateTeamInvitation.graphql:46:18
packages/hoppscotch-app postinstall: Error 4: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/DeleteTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 5: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/LeaveTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 6: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/RemoveTeamMember.graphql:46:18
packages/hoppscotch-app postinstall: Error 7: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/RenameTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 8: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/RevokeTeamInvitation.graphql:46:18
packages/hoppscotch-app postinstall: Error 9: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/UpdateTeamMemberRole.graphql:46:18
packages/hoppscotch-app postinstall: Error 10: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/GetInviteDetails.graphql:46:18
packages/hoppscotch-app postinstall: Error 11: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/GetTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 12: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/Me.graphql:46:18
packages/hoppscotch-app postinstall: Error 13: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/MyTeams.graphql:46:18
packages/hoppscotch-app postinstall: Error 14: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/ResolveShortcode.graphql:46:18
packages/hoppscotch-app postinstall: Error 15: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/pendingInvites.graphql:46:18
packages/hoppscotch-app postinstall: Error 16: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamInvitationAdded.graphql:46:18
packages/hoppscotch-app postinstall: Error 17: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamInvitationRemoved.graphql:46:18
packages/hoppscotch-app postinstall: Error 18: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamMemberAdded.graphql:46:18
packages/hoppscotch-app postinstall: Error 19: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamMemberRemoved.graphql:46:18
packages/hoppscotch-app postinstall: Error 20: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamMemberUpdated.graphql:46:18
packages/hoppscotch-app postinstall: Error 21: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:46:18
packages/hoppscotch-app postinstall: Error 22: GraphQLDocumentError: Unknown type "TestInput".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:7:23
packages/hoppscotch-app postinstall: Error 23: GraphQLDocumentError: Unknown type "TestEnum".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:7:41
packages/hoppscotch-app postinstall: Error 24: GraphQLDocumentError: Cannot query field "hasArgs" on type "Query".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:8:3
packages/hoppscotch-app postinstall: Error 25: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:9:10
packages/hoppscotch-app postinstall: Error 26: GraphQLDocumentError: Cannot query field "test" on type "Query". Did you mean "team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:20:3
packages/hoppscotch-app postinstall: Error 27: GraphQLDocumentError: Cannot query field "id" on type "Query".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:27:5
packages/hoppscotch-app postinstall: Error 28: GraphQLDocumentError: Cannot query field "id" on type "Query".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:30:5
packages/hoppscotch-app postinstall: Error 29: GraphQLDocumentError: Cannot query field "setString" on type "Mutation".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:35:3
packages/hoppscotch-app postinstall: Error 30: GraphQLDocumentError: Cannot query field "subscribeToTest" on type "Subscription".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:39:3
packages/hoppscotch-app postinstall: Error 31: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:40:12
packages/hoppscotch-app postinstall: [06:26:14] Generate helpers/backend/graphql.ts [failed]
packages/hoppscotch-app postinstall: [06:26:14] → GraphQL Document Validation failed with 32 errors;
packages/hoppscotch-app postinstall: Error 0: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/AcceptTeamInvitation.graphql:46:18
packages/hoppscotch-app postinstall: Error 1: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/CreateShortcode.graphql:46:18
packages/hoppscotch-app postinstall: Error 2: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/CreateTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 3: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/CreateTeamInvitation.graphql:46:18
packages/hoppscotch-app postinstall: Error 4: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/DeleteTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 5: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/LeaveTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 6: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/RemoveTeamMember.graphql:46:18
packages/hoppscotch-app postinstall: Error 7: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/RenameTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 8: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/RevokeTeamInvitation.graphql:46:18
packages/hoppscotch-app postinstall: Error 9: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/mutations/UpdateTeamMemberRole.graphql:46:18
packages/hoppscotch-app postinstall: Error 10: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/GetInviteDetails.graphql:46:18
packages/hoppscotch-app postinstall: Error 11: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/GetTeam.graphql:46:18
packages/hoppscotch-app postinstall: Error 12: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/Me.graphql:46:18
packages/hoppscotch-app postinstall: Error 13: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/MyTeams.graphql:46:18
packages/hoppscotch-app postinstall: Error 14: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/ResolveShortcode.graphql:46:18
packages/hoppscotch-app postinstall: Error 15: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/queries/pendingInvites.graphql:46:18
packages/hoppscotch-app postinstall: Error 16: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamInvitationAdded.graphql:46:18
packages/hoppscotch-app postinstall: Error 17: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamInvitationRemoved.graphql:46:18
packages/hoppscotch-app postinstall: Error 18: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamMemberAdded.graphql:46:18
packages/hoppscotch-app postinstall: Error 19: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamMemberRemoved.graphql:46:18
packages/hoppscotch-app postinstall: Error 20: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/helpers/backend/gql/subscriptions/TeamMemberUpdated.graphql:46:18
packages/hoppscotch-app postinstall: Error 21: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:46:18
packages/hoppscotch-app postinstall: Error 22: GraphQLDocumentError: Unknown type "TestInput".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:7:23
packages/hoppscotch-app postinstall: Error 23: GraphQLDocumentError: Unknown type "TestEnum".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:7:41
packages/hoppscotch-app postinstall: Error 24: GraphQLDocumentError: Cannot query field "hasArgs" on type "Query".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:8:3
packages/hoppscotch-app postinstall: Error 25: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:9:10
packages/hoppscotch-app postinstall: Error 26: GraphQLDocumentError: Cannot query field "test" on type "Query". Did you mean "team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:20:3
packages/hoppscotch-app postinstall: Error 27: GraphQLDocumentError: Cannot query field "id" on type "Query".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:27:5
packages/hoppscotch-app postinstall: Error 28: GraphQLDocumentError: Cannot query field "id" on type "Query".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:30:5
packages/hoppscotch-app postinstall: Error 29: GraphQLDocumentError: Cannot query field "setString" on type "Mutation".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:35:3
packages/hoppscotch-app postinstall: Error 30: GraphQLDocumentError: Cannot query field "subscribeToTest" on type "Subscription".
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:39:3
packages/hoppscotch-app postinstall: Error 31: GraphQLDocumentError: Unknown type "Test". Did you mean "Team"?
packages/hoppscotch-app postinstall: at /builds/ionicfirebaseapp/apidocs/packages/hoppscotch-app/node_modules/graphql-language-service-interface/src/tests/kitchen-sink.graphql:40:12
packages/hoppscotch-app postinstall: [06:26:14] Generate outputs [failed]
packages/hoppscotch-app postinstall: ELIFECYCLE Command failed with exit code 1.
packages/hoppscotch-app postinstall: Something went wrong
packages/hoppscotch-app postinstall: Failed
ELIFECYCLE Command failed with exit code 1.
section_end:1639722374:step_script
[0Ksection_start:1639722374:cleanup_file_variables
[0K[0K[36;1mCleaning up project directory and file based variables[0;m[0;m
section_end:1639722375:cleanup_file_variables
[0K[31;1mERROR: Job failed: exit code 1
[0;m`
Steps to reproduce
We using GitLab Runner to deploy but build failed.
Environment
Production
Version
Self-hosted
@liyasthomas commented on GitHub (Dec 17, 2021):
Seems like it's related to: https://github.com/hoppscotch/hoppscotch/discussions/2014#discussioncomment-1821163
@AndrewBastin commented on GitHub (Dec 18, 2021):
@liyasthomas doesn't seem like it's related, at least from the logs.
@PietechSolution I think its related to something like how you have set up submodules or something like that. How does your build system work ? How does your folder structure look like ? Do you use NPM/PNPM workspace or something ?
Also, does a fresh unmodified clone of this repo build on your machine ?
@pietechsolution commented on GitHub (Dec 18, 2021):
Ok , Yes I have NPM but as suggested in Installation step I use PNPM. I used to deploy on firebase hosting through gitlab CI runner but this issue comes on Local too.
I just close the clone the day I raise issue and run those 2-3 command as suggested.
I will try again the fresh copy and see what happen.
Thanks for your help.
@AndrewBastin commented on GitHub (Dec 18, 2021):
@PietechSolution if it fails on your local, the logs from the local build will be helpful.