Skip to content

Users can't Login via REST API #5283

Closed
Closed

Description

@nuborian

Hey,

since update i can't get login a user to work - and i have really no idea why ... :(

`Running on http://localhost:1337
dyld: lazy symbol binding failed: Symbol not found: __ZN4node19GetCurrentEventLoopEPN2v87IsolateE
Referenced from: /Users//Documents//_Development/*****/node_modules/bcrypt/lib/binding/bcrypt_lib.node
Expected in: flat namespace

dyld: Symbol not found: __ZN4node19GetCurrentEventLoopEPN2v87IsolateE
Referenced from: /Users//Documents//_Development/*****/node_modules/bcrypt/lib/binding/bcrypt_lib.node
Expected in: flat namespace

Program node index.js exited with code null
`

That's my output in console..

All I am trying to do is login a user with his username/password via REST-API on my local Parse-Server. Any idea what could be wrong?

Activity

  1. flovilmart commented on Jan 7, 2019

    @flovilmart
    Contributor

    Try deleing the node_modules folder and running npm install again

  2. nuborian commented on Jan 7, 2019

    @nuborian
    Author

    hmm tried that - same result. Did I use any wrong/old version of some module or what was your idea?

  3. flovilmart commented on Jan 7, 2019

    @flovilmart
    Contributor

    Perhaps, I have no way to know from here. What version of node do you use? I believe this was requested in the bug template.

  4. nuborian commented on Jan 7, 2019

    @nuborian
    Author

    Node Version is v9.2.0

    {
    "name": "my-dev-parse-server",
    "version": "0.1.0",
    "description": "My Development Parse Server with CloudCode",
    "main": "index.js",
    "repository": {
    "type": "git",
    "url": "https://github.com/ParsePlatform/parse-server.git"
    },
    "license": "MIT",
    "dependencies": {
    "moment": "^2.23.0",
    "parse": "",
    "parse-server": "
    ",
    "random-location": "^1.0.12",
    "request": "^2.88.0",
    "underscore": "^1.9.1"
    },
    "scripts": {
    "start": "node index.js"
    },
    "engines": {
    "node": ">=8.0"
    }
    }

    is my package file

  5. flovilmart commented on Jan 7, 2019

    @flovilmart
    Contributor

    Can you use latest node LTS (10.14.x)

  6. nuborian commented on Jan 7, 2019

    @nuborian
    Author

    Updated node to 11.6.x and it works =)

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