Skip to content

Script failing on TypeError: Cannot read properties of undefined (reading 'OPTIMIZELY_USER_ID') #6

Description

@wcwcaseman

I pulled the aws-lambda-at-edge-starter-kit, then replaced OPTIMIZELY_SDK_KEY with my key and flag name with a flag I have. Then execute npm run build, upload the zip file to aws lambda at edge that I created with the nod 18 template. I then receive the following error when testing the code on aws, TypeError: Cannot read properties of undefined (reading 'OPTIMIZELY_USER_ID').

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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