Skip to content

Deploy in Production - NPM module broken #108

@ghost

Description

The tutorial about deploy parse dashboard in production is not working.
The parse-dashboard npm module seems to be broken.
The node_modules/parse-dashboard contains only its package.json

Environment Setup

Node v5.7.1
OSx El Capitan 10.11
Parse server 2.1.4

Steps to reproduce

mkdir dashboard && cd dashboard
npm init
npm install --save parse-dashboard
add a start script in your package.json "start": "parse-dashboard --config ./dashboard.json"
npm start

Logs/Trace

> node parse-dashboard --config ./dashboard.json

module.js:341
    throw err;
    ^

Error: Cannot find module '/Users/ronaldo/dev/projects/todayapp-firebase/parse-dashboard'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:141:18)
    at node.js:933:3

npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/Cellar/node/5.7.1/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v5.7.1
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node parse-dashboard --config ./dashboard.json`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'node parse-dashboard --config ./dashboard.json'.
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 TodayAppFirebase package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node parse-dashboard --config ./dashboard.json
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs TodayAppFirebase
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls TodayAppFirebase
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/ronaldo/dev/projects/todayapp-firebase/npm-debug.log

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