Skip to content

Cannot Run parse-server #4397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nubu opened this issue Nov 28, 2017 · 2 comments
Closed

Cannot Run parse-server #4397

nubu opened this issue Nov 28, 2017 · 2 comments

Comments

@nubu
Copy link

nubu commented Nov 28, 2017

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

@addisonElliott
Copy link
Contributor

addisonElliott commented Nov 28, 2017

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

@nubu
Copy link
Author

nubu commented Nov 28, 2017

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants