You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package prism fails to build from source with the following error:
[git checkout] execute: git clone --quiet --origin=origin --config=user.name=Melange Build [email protected] --config=advice.detachedHead=false --branch=v5.12.1 --depth=1 https://github.com/stoplightio/prism /tmp/tmp.9cQ64T
[git checkout] execute: cd /tmp/tmp.9cQ64T
[git checkout] tar -c . | tar -C "/home/build" -x
[git checkout] execute: cd /home/build
[git checkout] execute: git config --global --add safe.directory /home/build
[git checkout] execute: git fetch --quiet origin --depth=1 --no-tags +refs/tags/v5.12.1:refs/origin/tags/v5.12.1
[git checkout] execute: git checkout --quiet origin/tags/v5.12.1
[git checkout] tag v5.12.1 is 197eb6f9cc4067da6806c14a2919419624609e9a
running step "patch"
patching file packages/tsconfig.json
running step "patch"
patching file packages/http/src/mocker/generator/JSONSchema.ts
yarn install v1.22.22
info No lockfile found.
[1/4] Resolving packages...
warning @types/pino > @types/[email protected]: This is a stub types definition. pino-pretty provides its own type definitions, so you do not need this installed.
warning @types/pino > @types/[email protected]: This is a stub types definition. pino-std-serializers provides its own type definitions, so you do not need this installed.
warning @types/[email protected]: This is a stub types definition for raw-body (https://github.com/stream-utils/raw-body). raw-body provides its own type definitions, so you don't need @types/raw-body installed!
warning @typescript-eslint/eslint-plugin > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]: Glob versions prior to v9 are no longer supported
warning @typescript-eslint/eslint-plugin > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
warning eslint > @humanwhocodes/[email protected]: Use @eslint/config-array instead
warning eslint > @humanwhocodes/config-array > @humanwhocodes/[email protected]: Use @eslint/object-schema instead
warning eslint > file-entry-cache > flat-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning [email protected]: Glob versions prior to v9 are no longer supported
warning jest > jest-cli > jest-config > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > jest-runtime > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > @jest/reporters > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > @jest/transform > babel-plugin-istanbul > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported
warning workspace-aggregator-004d34ef-d330-49e3-8745-b7a5e5cfacda > @stoplight/prism-cli > json-schema-faker > [email protected]: Please switch to @apidevtools/json-schema-ref-parser
warning workspace-aggregator-004d34ef-d330-49e3-8745-b7a5e5cfacda > @stoplight/prism-http > @stoplight/http-spec > postman-collection > @faker-js/[email protected]: Please update to a newer version.
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "@typescript-eslint/parser@^2.0.0".
warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 54.43s.
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "@typescript-eslint/parser@^2.0.0".
warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[4/4] Building fresh packages...
Done in 45.95s.
8:14:59 AM - Projects in this build:
* packages/core/tsconfig.build.json
* packages/http/tsconfig.build.json
* packages/http-server/tsconfig.build.json
* packages/cli/tsconfig.build.json
* packages/tsconfig.build.json
8:14:59 AM - Project 'packages/core/tsconfig.build.json' is out of date because output file 'packages/core/tsconfig.build.tsbuildinfo' does not exist
8:14:59 AM - Building project '/home/build/packages/core/tsconfig.build.json'...
8:15:05 AM - Project 'packages/http/tsconfig.build.json' is out of date because output file 'packages/http/tsconfig.build.tsbuildinfo' does not exist
8:15:05 AM - Building project '/home/build/packages/http/tsconfig.build.json'...
packages/http/src/mocker/generator/HttpParamGenerator.ts(21,5): error TS7053: Element implicitly has an 'any' type because expression of type '"x-faker"' can't be used to index type '{ $id?: string | undefined; $ref?: string | undefined; $schema?: string | undefined; $comment?: string | undefined; $defs?: { [key: string]: JSONSchema7Definition; } | undefined; ... 41 more ...; examples?: JSONSchema7Type | undefined; }'.
Property 'x-faker' does not exist on type '{ $id?: string | undefined; $ref?: string | undefined; $schema?: string | undefined; $comment?: string | undefined; $defs?: { [key: string]: JSONSchema7Definition; } | undefined; ... 41 more ...; examples?: JSONSchema7Type | undefined; }'.
packages/http/src/mocker/generator/HttpParamGenerator.ts(24,7): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
packages/http/src/validator/validators/body.ts(57,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
packages/http/src/validator/validators/body.ts(70,83): error TS7053: Element implicitly has an 'any' type because expression of type '"type"' can't be used to index type 'JSONSchema7 | JSONSchema7Definition[]'.
Property 'type' does not exist on type 'JSONSchema7 | JSONSchema7Definition[]'.
packages/http/src/validator/validators/body.ts(85,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
packages/http/src/validator/validators/body.ts(147,7): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
packages/http/src/validator/validators/body.ts(150,7): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
packages/http/src/validator/validators/params.ts(32,42): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'.
No index signature with a parameter of type 'string' was found on type 'unknown'.
packages/http/src/validator/validators/security/handlers/index.ts(59,57): error TS7053: Element implicitly has an 'any' type because expression of type '"openIdConnect" | "oauth2" | "mutualTLS"' can't be used to index type '{ openIdConnect: ValidateSecurityFn; oauth2: ValidateSecurityFn; apiKey: { cookie: ValidateSecurityFn; header: ValidateSecurityFn; query: ValidateSecurityFn; }; http: { ...; }; none: ValidateSecurityFn; }'.
Property 'mutualTLS' does not exist on type '{ openIdConnect: ValidateSecurityFn; oauth2: ValidateSecurityFn; apiKey: { cookie: ValidateSecurityFn; header: ValidateSecurityFn; query: ValidateSecurityFn; }; http: { ...; }; none: ValidateSecurityFn; }'.
packages/http/src/validator/index.ts(122,18): error TS7053: Element implicitly has an 'any' type because expression of type '"__bundled__"' can't be used to index type 'IHttpOperation<false>'.
Property '__bundled__' does not exist on type 'IHttpOperation<false>'.
packages/http/src/validator/index.ts(189,18): error TS7053: Element implicitly has an 'any' type because expression of type '"__bundled__"' can't be used to index type 'IHttpOperation<false>'.
Property '__bundled__' does not exist on type 'IHttpOperation<false>'.
packages/http/src/mocker/index.ts(64,28): error TS7053: Element implicitly has an 'any' type because expression of type '"__bundled__"' can't be used to index type 'IHttpOperation<false>'.
Property '__bundled__' does not exist on type 'IHttpOperation<false>'.
packages/http/src/mocker/serializer/style/deepObject.ts(12,81): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'string[] | Dictionary<unknown>'.
No index signature with a parameter of type 'string' was found on type 'string[] | Dictionary<unknown>'.
8:15:10 AM - Project 'packages/http-server/tsconfig.build.json' can't be built because its dependency 'packages/http/tsconfig.build.json' has errors
8:15:10 AM - Skipping build of project '/home/build/packages/http-server/tsconfig.build.json' because its dependency '/home/build/packages/http/tsconfig.build.json' has errors
8:15:10 AM - Project 'packages/cli/tsconfig.build.json' can't be built because its dependency 'packages/http/tsconfig.build.json' has errors
8:15:10 AM - Skipping build of project '/home/build/packages/cli/tsconfig.build.json' because its dependency '/home/build/packages/http/tsconfig.build.json' has errors
deleting guest dir /tmp/melange-guest-72875796
deleting workspace dir /tmp/melange-workspace-438379002
removing image path /tmp/melange-guest-3733228876
failed to build package: unable to run package prism pipeline: unable to run pipeline: exit status 2
The text was updated successfully, but these errors were encountered:
The package prism fails to build from source with the following error:
The text was updated successfully, but these errors were encountered: