Skip to content

SyntaxError: Unexpected token a in JSON at position 69 #4

Description

@ymys

ym@home node-js-jwt-auth-mongodb % node server.js
Server is running on port 8080.
Successfully connect to MongoDB.
SyntaxError: Unexpected token a in JSON at position 69
at JSON.parse ()
at parse (/Users/ym/NonDropBox/projects/bezkoder/node-js-jwt-auth-mongodb/node_modules/body-parser/lib/types/json.js:89:19)
at /Users/ym/NonDropBox/projects/bezkoder/node-js-jwt-auth-mongodb/node_modules/body-parser/lib/read.js:121:18
at invokeCallback (/Users/ym/NonDropBox/projects/bezkoder/node-js-jwt-auth-mongodb/node_modules/raw-body/index.js:224:16)
at done (/Users/ym/NonDropBox/projects/bezkoder/node-js-jwt-auth-mongodb/node_modules/raw-body/index.js:213:7)
at IncomingMessage.onEnd (/Users/ym/NonDropBox/projects/bezkoder/node-js-jwt-auth-mongodb/node_modules/raw-body/index.js:273:7)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions