F8app: npm run import-data return error

Created on 15 May 2016  路  6Comments  路  Source: fbsamples/f8app

$ npm run import-data

I have the local parse server running, return following;

Loading Speakers
Cleaning old Speakers data
ParseError { code: 1, message: undefined }

Most helpful comment

I fixed it, problem was related install of parse-server which was not completed.
$ sudo npm install -g parse-server mongodb-runner
$ mongodb-runner start

All 6 comments

@hasanobss what were node and npm version you used?

I am getting the same error with the following versions.

node 5.1.0
npm 3.3.12

@khanghoang
node 6.1.0
npm 3.8.6

I fixed it, problem was related install of parse-server which was not completed.
$ sudo npm install -g parse-server mongodb-runner
$ mongodb-runner start

@hasanobss
I do it as you say.
I get error as follow when i run 'npm run import-data'.

error: Uncaught internal server error. { [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
name: 'MongoError',
message: 'connect ECONNREFUSED 127.0.0.1:27017' } Error: connect ECONNREFUSED 127.0.0.1:27017
at Object.exports._errnoException (util.js:893:11)
at exports._exceptionWithHostPort (util.js:916:20)
at TCPConnectWrap.afterConnect as oncomplete

@hasanobss Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

santosrai picture santosrai  路  3Comments

zh-wowtv picture zh-wowtv  路  6Comments

SanlinBlackball picture SanlinBlackball  路  5Comments

fenglu09 picture fenglu09  路  5Comments

Harkindey picture Harkindey  路  5Comments