-
Notifications
You must be signed in to change notification settings - Fork 275
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
Running claudia create
with expressjs api results in Error: Cannot find module '{module}'
#242
Comments
flatypus
changed the title
Running claudia create results in Error: Cannot find module '{module}'
Running claudia with expressjs create results in Error: Cannot find module '{module}'
Feb 9, 2023
flatypus
changed the title
Running claudia with expressjs create results in Error: Cannot find module '{module}'
Running "claudia with expressjs create results in Error: Cannot find module '{module}'
Feb 9, 2023
flatypus
changed the title
Running "claudia with expressjs create results in Error: Cannot find module '{module}'
Running "claudia create" with expressjs api results in Error: Cannot find module '{module}'
Feb 9, 2023
flatypus
changed the title
Running "claudia create" with expressjs api results in Error: Cannot find module '{module}'
Running Feb 9, 2023
claudia create
with expressjs api results in Error: Cannot find module '{module}'
flatypus
changed the title
Running
Running Feb 9, 2023
claudia create
with expressjs api results in Error: Cannot find module '{module}'claudia create
with expressjs api results in Error: Cannot find module '{module}'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I set up a pretty large api that I'm hoping to run on lambda with claudia. After running the two commands, I get issues like
module cors could not be found
and when use '--use-local-dependencies' I get errors likeError: Cannot find module 'aws-serverless-express'
. I tried to simplify the project to the most simple express app as I could, but even then, I got aerror.
Link to a minimal, executable project that demonstrates the problem:
https://github.com/flatypus/claudiajs-bug-test
Steps to install the project:
clone, credentials in .aws/credentials.
Steps to reproduce the problem:
I ran
claudia generate-serverless-express-proxy --express-module dist/_server
and
claudia create --handler lambda.handler --deploy-proxy-api --region us-west-2
The text was updated successfully, but these errors were encountered: