title: npm start error but node index.js works
body: <p>I started learning nodejs and followed this tutorial to create a simple web app.</p>
  
  <p><a href="https://blog.risingstack.com/node-hero-tutorial-getting-started-with-node-js/" rel="nofollow">https://blog.risingstack.com/node-hero-tutorial-getting-started-with-node-js/</a></p>
  
  <p>According to the tutorial I can run the web app using either 'npm start' or node index.js' . When I use node install.js it works and give the result. But when I use npm start this error occurs.</p>
  
  <pre><code>npm ERR! Linux 4.4.0-38-generic
  npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
  npm ERR! node v4.2.6
  npm ERR! npm  v3.5.2
  npm ERR! file /var/www/html/nodejs/package.json
  npm ERR! code EJSONPARSE
  
  npm ERR! Failed to parse json
  npm ERR! Unexpected token '/' at 1:1
  npm ERR! // package.json
  npm ERR! ^
  npm ERR! File: /var/www/html/nodejs/package.json
  npm ERR! Failed to parse package.json data.
  npm ERR! package.json must be actual JSON, not just JavaScript.
  npm ERR! 
  npm ERR! This is not a bug in npm.
  npm ERR! Tell the package author to fix their package.json file.    JSON.parse
  
  npm ERR! Please include the following file with any support request:
  npm ERR!     /var/www/html/nodejs/npm-debug.log
  </code></pre>
  
  <p>As I'm a total beginner to nodejs and npm I can't figure out what went wrong.
  Does anyone know how to fix this ? Thanks in advance.</p>