title: node js error "No input sources specified"
body: <p>I have written a simple class in Solidity and getting the following error:</p>
  <pre><code>$ node compile.js
  { errors: [ 'No input sources specified.' ], sourceList: [] }
  $ ls
  compile.js  contracts/  node_modules/  package-lock.json  package.json
  $ ls contracts/
  Inbox.sol
  </code></pre>
  <p>My compile.js file looks like this:</p>
  <pre><code>const path = require('path');
  const fs = require('fs');
  const solc = require('solc');
  
  const inboxPath = path.resolve(__dirname, 'contracts', 'Inbox.sol');
  const source = fs.readFileSync(inboxPath, 'utf8');
  
  console.log(solc.compile(solc, 1));
  </code></pre>
  <p>Any pointers are appreciated!</p>