Replies: 1 comment 2 replies
-
Hi there, did you check the logs of Also, you should probably share a minimal, complete and reproducible example of your code that causes the problem so we can dig deeper into your issue. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a command that accesses Dynamo with a script I wrote. This is how I imported it:
const DynamoDB = require('../DynamoDB')
I can access the database in a test Node.js file:
node testDynamo.js
However, when I import the file into my command located in the
commands
folder,sam deploy
hangs onCreateCommandsInvoker
.I have read this discussion post, but I am unsure where to begin to import DynamoDB.js into the resource.
Beta Was this translation helpful? Give feedback.
All reactions