Skip to content

DATABASE_URI not specified, falling back to localhost when running npm start #3168

Closed
@tailord

Description

@tailord

Describe your issue in as much detail as possible.

DATABASE_URI not specified, falling back to localhost when trying to run npm start

Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

npm start
from parse_server_example directory

Expected Results

Start Parse Servr

Actual Outcome

DATABASE_URI not specified, falling back to localhost.
module.js:472
throw err;
^

Error: Cannot find module 'mailgun'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Users/alexgriswold/parse-server-example/cloud/main.js:3:15)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/7.2.0/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v7.2.0
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the parse-server-example package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs parse-server-example
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls parse-server-example

Environment Setup

  • Server
    • parse-server version (Be specific! Don't say 'latest'.) :
    • Operating System: OSX 10.10.5
    • Hardware: macbook air 1.6 GHz Intel Core i5 4 GB 1600 MHz DDR3
    • Localhost or remote server? localhost
  • Database
    • MongoDB version: version: 3.0.13 (MMAPv1)
    • Storage engine: mlab
    • Hardware: aws
    • Localhost or remote server? mlab

Logs/Trace

You can turn on additional logging by configuring VERBOSE=1 in your environment.

[FILL THIS OUT]

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