Gives the error
--app is required either in command-line, in cdk.json or in ~/.cdk.json
Solution 1:
Create a cdk.json file with:
{
"app": "npx ts-node bin/app.ts"
}
Issue 2:
cdk deploy puppeteer
Gives the error
ENOENT: no such file or directory, open 'cdk.out/manifest.json'
Conclusion: doing simple things on AWS is impossible due to missing documenation. Outdated documentation. Documentation that simply states the wrong things.
Issue 1:
Gives the error
--app is required either in command-line, in cdk.json or in ~/.cdk.json
Solution 1: Create a
cdk.json
file with:Issue 2:
Gives the error
ENOENT: no such file or directory, open 'cdk.out/manifest.json'
Conclusion: doing simple things on AWS is impossible due to missing documenation. Outdated documentation. Documentation that simply states the wrong things.