Skip to content

Cannot Run parse-server #4397

Closed
Closed

Description

@nubu

Hey guys,

just pulled the newest version to my local drive and after npm install, I want to start the parse-server...

Always getting this error:

/usr/local/lib/node_modules/parse-server/lib/ParseServer.js:124
const {
^

SyntaxError: Unexpected token {
and so on ...

Any idea about this? Am I missing something?

Best Nico

Activity

  1. addisonElliott commented on Nov 28, 2017

    @addisonElliott
    Contributor

    A few suggestions that may be the issue. First, what is your node version? You can type node -v to get the version. As of 2.7.0, the minimum node version is 6.11.4.

    Make sure you have the hidden files. Look at this issue: #4396

    Can you post more information about your build system and exactly what you did when you upgraded the parse server?

    As a test, I just did a clean download and install and it worked fine for me using node v9.2.0 with Bash on Windows 10 x64.

    Here is what I did:

    git clone https://github.com/parse-community/parse-server.git
    cd parse-server
    npm install
    sudo npm install -g mongodb-runner
    mongodb-runner start
    npm start -- --appId APP_ID --masterKey MASTER_KEY
    
  2. nubu commented on Nov 28, 2017

    @nubu
    Author

    Hmm you are right, it only was the node version - Thanks for that. uhh

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