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

npx cdk deploy gives this error: can't cd to webapp #38

Open
rosdi opened this issue Apr 4, 2024 · 0 comments
Open

npx cdk deploy gives this error: can't cd to webapp #38

rosdi opened this issue Apr 4, 2024 · 0 comments

Comments

@rosdi
Copy link

rosdi commented Apr 4, 2024

Hi @davidtucker , first of all thanks for the excellent pluralsight tutorial, but I am currently stuck during deployment.

I just cloned the p2 branch and ran yarn install, but when I cd to the infrastructure directory and run npx cdk deploy is spits out this error:

Bundling asset ApplicationStack/WebApp/WebAppDeploy/WebAppDeploy/Asset1/Stage...
/bin/sh: 2: cd: can't cd to webapp.

image

I didn't change anything in the code, it is just a fresh untouched p2 branch.

I am running this build in a docker container so that I can install the same node and yarn version as in the tutorial, only the aws cli is the v2 version (as opposed to v1 you were using), I upgraded to aws cli v2 because I thought it could fix the issue.

If I attempted to use latest versions of node, yarn, npm, cdk, etc I will face a lot of more errors due to outdated packages being used.

Here are my tooling versions if you want to check:

image

node v16.20.2
npm 8.19.4
yarn 1.22.5
aws cli 2.15.34
ubuntu 20.04.4 LTS

I know it might be hard for you to reproduce this issue, but if you do have a few tips please let me know..., in the meantime I will just watch the tutorial and won't be following along...

Regards.

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