-
Notifications
You must be signed in to change notification settings - Fork 12
Error: ENOENT: no such file or directory, open '/home/sbx_user1051/.cdk/cache/notices.json' #84
Description
I am working on configuring this repo in AWS codecatalyst and trying to perform a CDK deploy, I have configured workflows at my end where the CDK bootstrap was successful but the CDK deploy fails with below error -
=====
Failed to store notices in the cache: Error: ENOENT: no such file or directory, open '/home/sbx_user1051/.cdk/cache/notices.json'
[06:33:59] Error: --app is required either in command-line, in cdk.json or in ~/.cdk.json
at execProgram (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:469:48635)
at async CloudExecutable.synthesizer (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:525:52237)
at async CloudExecutable.doSynthesize (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:469:42230)
at async CloudExecutable.synthesize (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:469:42023)
at async CdkToolkit.selectStacksForDeploy (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:472:3462)
at async CdkToolkit.deploy (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:470:176508)
at async exec4 (/tmp/opt/npm/lib/node_modules/aws-cdk/lib/index.js:525:53102)
--app is required either in command-line, in cdk.json or in ~/.cdk.json
--app is required either in command-line, in cdk.json or in ~/.cdk.json
::set-output name=ACTION_RUN_SUMMARY::[{text:CDK_DEPLOY_COMMAND_ERROR,level:Error,message:"The AWS CDK deploy action failed to perform one or more commands. Check the action logs for more information."}]
Error: The AWS CDK deploy action failed to perform one or more commands. Check the action logs for more information.