-
Notifications
You must be signed in to change notification settings - Fork 73
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
Unknown CDK when run command "npx ampx sandbox" #1743
Comments
Hey @iLoJokerZ, thank you for reaching out. Does the
was the project was created using |
Hi @ykethan. Sure thing. I also tried uninstall and install again. |
@iLoJokerZ how is the project currently setup? is this a monorepo? |
@ykethan, the project tends to build a lambda function, so it was based on the instruction in this link (https://docs.amplify.aws/react/build-a-backend/functions/set-up-function/). Moreover, I also used NestJS as a framework to implement a function.
Generates information for Amplify troubleshooting Options: Error: Command failed with exit code 1: npx cdk doctor --no-notices -- --no-color |
Hey @iLoJokerZ, this appears to be an issue with the project setup and not the functions setup. |
Is there any other way besides Discord, because I can't use Discord? |
@iLoJokerZ, just to ensure is this the |
Hi @ykethan, thanks for your suggestion. After I moved the package.json, the issue still there |
Hey @iLoJokerZ, if you are unable to use discord. Could you provide us your email address to setup a call to dive into the issue? |
Hi @ykethan. My apologize for the late reply. About the issue, it is good now. I am not sure this is a good approach but it helps me solve the issue. I just reinstall my windows, and setup again then everything is good now. Thank you for your time. We can close this topic. |
Glad to hear you were able to mitigate the issue. Closing this issue, do reach out if you are still experiencing this. |
Environment information
Description
Hi Team,
Currently, I am using amplify 2 sandbox to testing my application in local. However, when I ran the command "npx ampx sandbox" it always returned the error "unknown command 'cdk'".
Here is my development environment version:
node: v20.11.1
npm: 10.5.2
cdk (I tried to install it but still had no luck): 2.149.0
The text was updated successfully, but these errors were encountered: