title: Browserify Express App Error: Parsing file Unexpected token
body: <p>I am trying to browserify a javascript file.  When I use:</p>
  
  <pre><code>browserify global.js -o bundle.js
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Error: Parsing file C:\ocquiz\public\javascripts\global.js: Unexpected token (756:14)
  at Deps.parseDeps (C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\module-deps\index.js:510:15)
  at getDeps (C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\module-deps\index.js:438:44)
  at C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\module-deps\index.js:421:38
  at ConcatStream.&lt;anonymous&gt; (C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\concat-stream\index.js:37:43)
  at emitNone (events.js:111:20)
  at ConcatStream.emit (events.js:208:7)
  at finishMaybe (C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\readable-stream\lib\_stream_writable.js:630:14)
  at endWritable (C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\readable-stream\lib\_stream_writable.js:638:3)
  at ConcatStream.Writable.end (C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\readable-stream\lib\_stream_writable.js:594:41)
  at DuplexWrapper.onend (C:\Users\jacob\AppData\Roaming\npm\node_modules\browserify\node_modules\readable-stream\lib\_stream_readable.js:577:10)
  </code></pre>
  
  <p>when I remove all Requires, e.g.</p>
  
  <pre><code>var R = require('ramda');
  </code></pre>
  
  <p>it creates the bundle.js.</p>
  
  <p>I am not using react. I looked for other .jsx files but didn't find any.
  package.json:</p>
  
  <pre><code>  "dependencies": {
  "cookie-parser": "~1.4.3",
  "debug": "~2.6.9",
  "express": "~4.16.0",
  "express-session": "^1.15.6",
  "http-errors": "~1.6.2",
  "jade": "~1.11.0",
  "mongodb": "^3.0.5",
  "monk": "^6.0.5",
  "morgan": "~1.9.0",
  "ramda": "^0.26.1"},
  </code></pre>