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

Deployment fails on the latest release #372

Closed
massi-ang opened this issue Feb 12, 2024 · 0 comments · Fixed by #373
Closed

Deployment fails on the latest release #372

massi-ang opened this issue Feb 12, 2024 · 0 comments · Fixed by #373

Comments

@massi-ang
Copy link
Collaborator

With the latest release the deployment (cdk deploy) fails due to the following error:

Bundling asset GenAIChatBotStack/UserInterface/UserInterfaceDeployment/Asset1/Stage...
src/common/api-client/api-client.ts:109:57 - error TS2554: Expected 0 arguments, but got 1.

109       this._userFeedbackClient = new UserFeedbackClient(this._appConfig);
                                                            ~~~~~~~~~~~~~~~


Found 1 error in src/common/api-client/api-client.ts:109

Error: Command failed: npm --silent --prefix "/Users/angmas/Projects/aws-genai-llm-chatbot/lib/user-interface/react-app" run build
    at checkExecSyncError (node:child_process:885:11)
    at execSync (node:child_process:957:15)
    at Object.tryBundle (/Users/angmas/Projects/aws-genai-llm-chatbot/lib/user-interface/index.ts:184:23)
    at AssetStaging.bundle (/Users/angmas/Projects/aws-genai-llm-chatbot/node_modules/aws-cdk-lib/core/lib/asset-staging.js:2:33)
    at AssetStaging.stageByBundling (/Users/angmas/Projects/aws-genai-llm-chatbot/node_modules/aws-cdk-lib/core/lib/asset-staging.js:1:5297)
    at stageThisAsset (/Users/angmas/Projects/aws-genai-llm-chatbot/node_modules/aws-cdk-lib/core/lib/asset-staging.js:1:2728)
    at Cache.obtain (/Users/angmas/Projects/aws-genai-llm-chatbot/node_modules/aws-cdk-lib/core/lib/private/cache.js:1:242)
    at new AssetStaging (/Users/angmas/Projects/aws-genai-llm-chatbot/node_modules/aws-cdk-lib/core/lib/asset-staging.js:1:3125)
    at new Asset (/Users/angmas/Projects/aws-genai-llm-chatbot/node_modules/aws-cdk-lib/aws-s3-assets/lib/asset.js:1:1080) {
  status: 2,
  signal: null,
  output: [ null, null, null ],
  pid: 42683,
  stdout: null,
  stderr: null
}
massi-ang added a commit to massi-ang/aws-genai-llm-chatbot that referenced this issue Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant