title: npm ERR! enoent ENOENT: no such file or directory, open package.json
body: <p>I'm new to Node so bear with me.</p>
  
  <p>I have a Node server which requires <code>ws</code> so I install it with:</p>
  
  <pre><code>$ npm install ws
  /private/var/www/html/WebRTC/SVC
  └─┬ ws@1.1.1 
    ├── options@0.0.6 
    └── ultron@1.0.2 
  
  npm WARN enoent ENOENT: no such file or directory, open '/private/var/www/html/WebRTC/SVC/package.json'
  npm WARN SVC No description
  npm WARN SVC No repository field.
  npm WARN SVC No README data
  npm WARN SVC No license field.
  </code></pre>
  
  <p>I then run the server using:</p>
  
  <pre><code>$ npm run server.js 
  npm ERR! Darwin 15.6.0
  npm ERR! argv "/usr/local/Cellar/node/6.2.2/bin/node" "/usr/local/bin/npm" "run" "server.js"
  npm ERR! node v6.2.2
  npm ERR! npm  v3.9.5
  npm ERR! path /private/var/www/html/WebRTC/SVC/package.json
  npm ERR! code ENOENT
  npm ERR! errno -2
  npm ERR! syscall open
  
  npm ERR! enoent ENOENT: no such file or directory, open '/private/var/www/html/WebRTC/SVC/package.json'
  npm ERR! enoent ENOENT: no such file or directory, open '/private/var/www/html/WebRTC/SVC/package.json'
  npm ERR! enoent This is most likely not a problem with npm itself
  npm ERR! enoent and is related to npm not being able to find a file.
  npm ERR! enoent 
  
  npm ERR! Please include the following file with any support request:
  npm ERR!     /private/var/www/html/WebRTC/SVC/npm-debug.log
  </code></pre>
  
  <p>but am getting errors mentioning no <code>package.json</code>.</p>
  
  <p>Looking through <code>npm-debug.log</code> it seems pretty much the same.</p>
  
  <p>Can someone shed some light on what <code>enoent</code> is and what sort of <code>package.json</code> file I need.</p>
  
  <p>I was expecting this script to run out of the box so a little puzzled.</p>