user3354446
user3354446

Reputation:

How to run this node app that I imported from github?

First off, I am a complete noob to web development involving servers. I've searched tirelessly and done everything within my knowledge. I am way too curious to figure out how to run this node js app. Is it possible for anyone to give me a step by step instructions on how to get it running?

https://github.com/android-fanatic/video-timeline-comment-tagging-demo

I have mongodb and nodejs installed but I get this Darwin Error when I run

npm start

npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.5
npm ERR! npm  v2.11.2

npm ERR! missing script: start
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/JonDoe/Documents/web_apps/video-timeline-comment-ta`

Any help will be greatly appreciated.

Upvotes: 1

Views: 208

Answers (1)

Bidhan
Bidhan

Reputation: 10687

Inside the package.json file, the start script is not specified, so npm start wont work. Change your package.json to the following

    {
    "name":"real-video-fake-tags",
    "version":"0.0.4",
    "private":true,
    "scripts": {
       "start": "node app.js"
    },
    "dependencies":{
        "express":"2.5.10",
        "jade":">= 0.2.0",
        "mongoose" :">= 2.7.0",
        "mailer":">=0.6.7"
    }
    }

Upvotes: 1

Related Questions