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

Update aws-sdk Install Location #715

Open
itsRoze opened this issue May 6, 2023 · 1 comment
Open

Update aws-sdk Install Location #715

itsRoze opened this issue May 6, 2023 · 1 comment

Comments

@itsRoze
Copy link

itsRoze commented May 6, 2023

In the "Add an API to Create a Note" section we are told to run the following command in the packages/functions/ folder:

npm install aws-sdk uuid

Later in the chapter, the import statement for aws-sdk is refactored into packages/core/src/dynamodb.js. This will cause an error of course, because aws-sdk wasn't installed in this directory.

We can install it in packages/core too, or maybe it's better to install it in the root directory (not sure?).

@jayair
Copy link
Contributor

jayair commented May 9, 2023

Oh that's a good point! It should be installed in the core directory.

I'll make a note for a future edit.

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

2 participants