Skip to content

TypeError: this.adapter.updateSchemaWithIndexes is not a function #1

Open
@danepowell

Description

@danepowell

I am using Parse Server 2.8.2. I was previously using a standard Mongo database and am trying to switch to DynamoDB.

I set up my DynamoDB table and server according to the readme file:

var dynamoAccessKeyId = process.env.DYNAMO_ACCESS_KEY_ID || '';
var dynamoSecretAccessKey = process.env.DYNAMO_SECRET_ACCESS_KEY || '';
var DynamoDB = require('parse-server-dynamodb-adapter').DynamoDB;
var dynamo = new DynamoDB('parse-server', {
  apiVersion: '2012-08-10',
  region : 'us-east-1',
  accessKeyId: dynamoAccessKeyId,
  secretAccessKey: dynamoSecretAccessKey
});

However, when I start my server, it crashes with this error:

TypeError: this.adapter.updateSchemaWithIndexes is not a function

See full log here: https://pastebin.com/izc7YN6E

Any idea what's going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions