Skip to content

Update aws-sdk Install Location #715

@itsRoze

Description

@itsRoze

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?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions