Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run docker demo script in everest-demo branch (CitrineOS) #70

Open
qorinator opened this issue Sep 17, 2024 · 0 comments
Open

Comments

@qorinator
Copy link

Hi

I am trying to spin up everest simulator with CitrineOS using docker demo script in everest-demo branch
I tried ./demo-iso15118-2-dc.sh and it worked. however when i tried ./demo-iso15118-2-ac-plus-ocpp.sh -1 -c (with citrine OS)

it failed with this error code

62.43 src/certificate/client/acme.ts(151,11): error TS2488: Type '[string, [string, string]] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
62.43 src/util/swagger.ts(83,10): error TS2769: No overload matches this call.
62.43   Overload 1 of 3, '(plugin: FastifyPluginCallback<SwaggerOptions, RawServerDefault, FastifyTypeProviderDefault, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error.
62.43     Type '({ swaggerObject, openapiObject, }: { swaggerObject: Partial<Document<{}>>; openapiObject: Partial<OpenAPIV3.Document<{}> | OpenAPIV3_1.Document<{}>>; }) => Partial<...>' is not assignable to type 'SwaggerTransformObject'.
62.43       Types of parameters '__0' and 'documentObject' are incompatible.
62.43         Type 'SwaggerDocumentObject' is not assignable to type '{ swaggerObject: Partial<Document<{}>>; openapiObject: Partial<OpenAPIV3.Document<{}> | OpenAPIV3_1.Document<{}>>; }'.
62.43           Property 'openapiObject' is missing in type '{ swaggerObject: Partial<Document<{}>>; }' but required in type '{ swaggerObject: Partial<Document<{}>>; openapiObject: Partial<OpenAPIV3.Document<{}> | OpenAPIV3_1.Document<{}>>; }'.
62.43   Overload 2 of 3, '(plugin: FastifyPluginAsync<SwaggerOptions, RawServerDefault, FastifyTypeProviderDefault, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error.
62.43     Argument of type 'FastifySwagger' is not assignable to parameter of type 'FastifyPluginAsync<SwaggerOptions, RawServerDefault, FastifyTypeProviderDefault, FastifyBaseLogger>'.
62.43       Target signature provides too few arguments. Expected 3 or more, but got 2.
62.43   Overload 3 of 3, '(plugin: FastifyPluginCallback<SwaggerOptions, RawServerDefault, FastifyTypeProviderDefault, FastifyBaseLogger> | FastifyPluginAsync<...> | Promise<...> | Promise<...>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error.
62.43     Type '({ swaggerObject, openapiObject, }: { swaggerObject: Partial<Document<{}>>; openapiObject: Partial<OpenAPIV3.Document<{}> | OpenAPIV3_1.Document<{}>>; }) => Partial<...>' is not assignable to type 'SwaggerTransformObject'.
62.43       Types of parameters '__0' and 'documentObject' are incompatible.
62.43         Type 'SwaggerDocumentObject' is not assignable to type '{ swaggerObject: Partial<Document<{}>>; openapiObject: Partial<OpenAPIV3.Document<{}> | OpenAPIV3_1.Document<{}>>; }'.
62.43           Property 'openapiObject' is missing in type '{ swaggerObject: Partial<Document<{}>>; }' but required in type '{ swaggerObject: Partial<Document<{}>>; openapiObject: Partial<OpenAPIV3.Document<{}> | OpenAPIV3_1.Document<{}>>; }'.
62.48 npm error Lifecycle script `compile` failed with error:
62.48 npm error Error: command failed
62.48 npm error   in workspace: @citrineos/[email protected]
62.48 npm error   at location: /usr/local/apps/citrineos/02_Util

Has anyone experienced this ?

@qorinator qorinator changed the title Failed to run docker demo script in everest-demo branch Failed to run docker demo script in everest-demo branch (CitrineOS) Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant