title: How to fix “Npm ERR! JSON.parse Unexpected string in JSON at position 5096”
body: <p>I'm very new and I'm trying to stick to the steps followed by an instructor in Coursera. And I get an error after doing several steps and trying to run lite-server with npm run dev command in CMD:</p>
  <pre><code>C:\Users\Spifet\Documents\guia-hoteles&gt;npm run dev
  npm ERR! code EJSONPARSE
  npm ERR! path C:\Users\Spifet\Documents\guia-hoteles/package.json
  npm ERR! JSON.parse Unexpected string in JSON at position 5096 while parsing '{
  npm ERR! JSON.parse   &quot;devDependencies&quot;: {
  npm ERR! JSON.parse     &quot;lite-serve'
  npm ERR! JSON.parse Failed to parse JSON data.
  npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Spifet\AppData\Local\npm-cache\_logs\2020-11-01T03_21_13_999Z-debug.log
  </code></pre>
  <p>This is how my package.json currently looks like:</p>
  <pre><code>{
    &quot;devDependencies&quot;: {
      &quot;lite-server&quot;: &quot;^2.5.4&quot;
    },
    &quot;name&quot;: &quot;guia-hoteles&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;dependencies&quot;: {
      &quot;after&quot;: &quot;^0.8.2&quot;,
      &quot;arraybuffer.slice&quot;: &quot;^0.0.7&quot;,
      &quot;accepts&quot;: &quot;^1.3.7&quot;,
      &quot;anymatch&quot;: &quot;^3.1.1&quot;,
      &quot;async&quot;: &quot;^1.5.2&quot;,
      &quot;async-each-series&quot;: &quot;^0.1.1&quot;,
      &quot;ansi-regex&quot;: &quot;^2.1.1&quot;,
      &quot;backo2&quot;: &quot;^1.0.2&quot;,
      &quot;async-limiter&quot;: &quot;^1.0.1&quot;,
      &quot;ansi-styles&quot;: &quot;^2.2.1&quot;,
      &quot;base64id&quot;: &quot;^1.0.0&quot;,
      &quot;batch&quot;: &quot;^0.6.1&quot;,
      &quot;better-assert&quot;: &quot;^1.0.2&quot;,
      &quot;balanced-match&quot;: &quot;^1.0.0&quot;,
      &quot;binary-extensions&quot;: &quot;^2.1.0&quot;,
      &quot;axios&quot;: &quot;^0.19.0&quot;,
      &quot;blob&quot;: &quot;^0.0.5&quot;,
      &quot;brace-expansion&quot;: &quot;^1.1.11&quot;,
      &quot;base64-arraybuffer&quot;: &quot;^0.1.5&quot;,
      &quot;braces&quot;: &quot;^3.0.2&quot;,
      &quot;browser-sync&quot;: &quot;^2.26.13&quot;,
      &quot;browser-sync-client&quot;: &quot;^2.26.13&quot;,
      &quot;browser-sync-ui&quot;: &quot;^2.26.13&quot;,
      &quot;bs-recipes&quot;: &quot;^1.3.4&quot;,
      &quot;callsite&quot;: &quot;^1.0.0&quot;,
      &quot;camelcase&quot;: &quot;^5.3.1&quot;,
      &quot;bytes&quot;: &quot;^3.1.0&quot;,
      &quot;bs-snippet-injector&quot;: &quot;^2.0.1&quot;,
      &quot;color-name&quot;: &quot;^1.1.3&quot;,
      &quot;cliui&quot;: &quot;^6.0.0&quot;,
      &quot;color-convert&quot;: &quot;^1.9.3&quot;,
      &quot;component-bind&quot;: &quot;^1.0.0&quot;,
      &quot;component-inherit&quot;: &quot;^0.0.3&quot;,
      &quot;commander&quot;: &quot;^2.20.3&quot;,
      &quot;component-emitter&quot;: &quot;^1.3.0&quot;,
      &quot;chokidar&quot;: &quot;^3.4.3&quot;,
      &quot;concat-map&quot;: &quot;^0.0.1&quot;,
      &quot;connect&quot;: &quot;^3.6.6&quot;,
      &quot;connect-logger&quot;: &quot;^0.0.1&quot;,
      &quot;cookie&quot;: &quot;^0.3.1&quot;,
      &quot;debug&quot;: &quot;^2.6.9&quot;,
      &quot;depd&quot;: &quot;^1.1.2&quot;,
      &quot;connect-history-api-fallback&quot;: &quot;^1.6.0&quot;,
      &quot;dev-ip&quot;: &quot;^1.0.1&quot;,
      &quot;destroy&quot;: &quot;^1.0.4&quot;,
      &quot;chalk&quot;: &quot;^1.1.3&quot;,
      &quot;decamelize&quot;: &quot;^1.2.0&quot;,
      &quot;dlv&quot;: &quot;^1.1.3&quot;,
      &quot;eazy-logger&quot;: &quot;^3.1.0&quot;,
      &quot;emoji-regex&quot;: &quot;^8.0.0&quot;,
      &quot;ee-first&quot;: &quot;^1.1.1&quot;,
      &quot;escape-html&quot;: &quot;^1.0.3&quot;,
      &quot;easy-extender&quot;: &quot;^2.3.4&quot;,
      &quot;engine.io&quot;: &quot;^3.2.1&quot;,
      &quot;escape-string-regexp&quot;: &quot;^1.0.5&quot;,
      &quot;engine.io-client&quot;: &quot;^3.4.4&quot;,
      &quot;etag&quot;: &quot;^1.8.1&quot;,
      &quot;encodeurl&quot;: &quot;^1.0.2&quot;,
      &quot;finalhandler&quot;: &quot;^1.1.0&quot;,
      &quot;engine.io-parser&quot;: &quot;^2.1.3&quot;,
      &quot;fill-range&quot;: &quot;^7.0.1&quot;,
      &quot;fresh&quot;: &quot;^0.5.2&quot;,
      &quot;eventemitter3&quot;: &quot;^4.0.7&quot;,
      &quot;follow-redirects&quot;: &quot;^1.13.0&quot;,
      &quot;get-caller-file&quot;: &quot;^2.0.5&quot;,
      &quot;find-up&quot;: &quot;^4.1.0&quot;,
      &quot;glob-parent&quot;: &quot;^5.1.1&quot;,
      &quot;fsevents&quot;: &quot;^2.1.3&quot;,
      &quot;has-ansi&quot;: &quot;^2.0.0&quot;,
      &quot;has-binary2&quot;: &quot;^1.0.3&quot;,
      &quot;fs-extra&quot;: &quot;^3.0.1&quot;,
      &quot;graceful-fs&quot;: &quot;^4.2.4&quot;,
      &quot;immutable&quot;: &quot;^3.8.2&quot;,
      &quot;http-proxy&quot;: &quot;^1.18.1&quot;,
      &quot;iconv-lite&quot;: &quot;^0.4.24&quot;,
      &quot;indexof&quot;: &quot;^0.0.1&quot;,
      &quot;inherits&quot;: &quot;^2.0.4&quot;,
      &quot;is-binary-path&quot;: &quot;^2.1.0&quot;,
      &quot;http-errors&quot;: &quot;^1.7.3&quot;,
      &quot;is-extglob&quot;: &quot;^2.1.1&quot;,
      &quot;is-number&quot;: &quot;^7.0.0&quot;,
      &quot;is-buffer&quot;: &quot;^2.0.4&quot;,
      &quot;is-glob&quot;: &quot;^4.0.1&quot;,
      &quot;is-fullwidth-code-point&quot;: &quot;^3.0.0&quot;,
      &quot;has-cors&quot;: &quot;^1.1.0&quot;,
      &quot;is-number-like&quot;: &quot;^1.0.8&quot;,
      &quot;is-wsl&quot;: &quot;^1.1.0&quot;,
      &quot;jsonfile&quot;: &quot;^3.0.1&quot;,
      &quot;locate-path&quot;: &quot;^5.0.0&quot;,
      &quot;limiter&quot;: &quot;^1.1.5&quot;,
      &quot;localtunnel&quot;: &quot;^2.0.0&quot;,
      &quot;lodash.isfinite&quot;: &quot;^3.3.2&quot;,
      &quot;mime&quot;: &quot;^1.4.1&quot;,
      &quot;mime-db&quot;: &quot;^1.44.0&quot;,
      &quot;micromatch&quot;: &quot;^4.0.2&quot;,
      &quot;isarray&quot;: &quot;^2.0.1&quot;,
      &quot;minimatch&quot;: &quot;^3.0.4&quot;,
      &quot;mime-types&quot;: &quot;^2.1.27&quot;,
      &quot;mitt&quot;: &quot;^1.2.0&quot;,
      &quot;object-component&quot;: &quot;^0.0.3&quot;,
      &quot;ms&quot;: &quot;^2.0.0&quot;,
      &quot;normalize-path&quot;: &quot;^3.0.0&quot;,
      &quot;openurl&quot;: &quot;^1.1.1&quot;,
      &quot;on-finished&quot;: &quot;^2.3.0&quot;,
      &quot;negotiator&quot;: &quot;^0.6.2&quot;,
      &quot;opn&quot;: &quot;^5.3.0&quot;,
      &quot;p-locate&quot;: &quot;^4.1.0&quot;,
      &quot;parseqs&quot;: &quot;^0.0.6&quot;,
      &quot;parseuri&quot;: &quot;^0.0.6&quot;,
      &quot;parseurl&quot;: &quot;^1.3.3&quot;,
      &quot;p-try&quot;: &quot;^2.2.0&quot;,
      &quot;p-limit&quot;: &quot;^2.3.0&quot;,
      &quot;picomatch&quot;: &quot;^2.2.2&quot;,
      &quot;path-exists&quot;: &quot;^4.0.0&quot;,
      &quot;minimist&quot;: &quot;^1.2.0&quot;,
      &quot;qs&quot;: &quot;^6.2.3&quot;,
      &quot;portscanner&quot;: &quot;^2.1.1&quot;,
      &quot;range-parser&quot;: &quot;^1.2.1&quot;,
      &quot;readdirp&quot;: &quot;^3.5.0&quot;,
      &quot;raw-body&quot;: &quot;^2.4.1&quot;,
      &quot;resp-modifier&quot;: &quot;^6.0.2&quot;,
      &quot;requires-port&quot;: &quot;^1.0.0&quot;,
      &quot;require-main-filename&quot;: &quot;^2.0.0&quot;,
      &quot;rx&quot;: &quot;^4.1.0&quot;,
      &quot;require-directory&quot;: &quot;^2.1.1&quot;,
      &quot;rxjs&quot;: &quot;^5.5.12&quot;,
      &quot;serve-index&quot;: &quot;^1.9.1&quot;,
      &quot;safer-buffer&quot;: &quot;^2.1.2&quot;,
      &quot;send&quot;: &quot;^0.16.2&quot;,
      &quot;serve-static&quot;: &quot;^1.13.2&quot;,
      &quot;server-destroy&quot;: &quot;^1.0.1&quot;,
      &quot;safe-buffer&quot;: &quot;^5.1.2&quot;,
      &quot;socket.io-adapter&quot;: &quot;^1.1.2&quot;,
      &quot;socket.io&quot;: &quot;^2.1.1&quot;,
      &quot;socket.io-parser&quot;: &quot;^3.2.0&quot;,
      &quot;setprototypeof&quot;: &quot;^1.1.1&quot;,
      &quot;statuses&quot;: &quot;^1.3.1&quot;,
      &quot;strip-ansi&quot;: &quot;^3.0.1&quot;,
      &quot;stream-throttle&quot;: &quot;^0.1.3&quot;,
      &quot;socket.io-client&quot;: &quot;^2.3.1&quot;,
      &quot;supports-color&quot;: &quot;^2.0.0&quot;,
      &quot;symbol-observable&quot;: &quot;^1.0.1&quot;,
      &quot;string-width&quot;: &quot;^4.2.0&quot;,
      &quot;set-blocking&quot;: &quot;^2.0.0&quot;,
      &quot;toidentifier&quot;: &quot;^1.0.0&quot;,
      &quot;to-regex-range&quot;: &quot;^5.0.1&quot;,
      &quot;tfunk&quot;: &quot;^4.0.0&quot;,
      &quot;to-array&quot;: &quot;^0.1.4&quot;,
      &quot;unpipe&quot;: &quot;^1.0.0&quot;,
      &quot;ua-parser-js&quot;: &quot;^0.7.22&quot;,
      &quot;universalify&quot;: &quot;^0.1.2&quot;,
      &quot;ultron&quot;: &quot;^1.1.1&quot;,
      &quot;utils-merge&quot;: &quot;^1.0.1&quot;,
      &quot;which-module&quot;: &quot;^2.0.0&quot;,
      &quot;wrap-ansi&quot;: &quot;^6.2.0&quot;,
      &quot;ws&quot;: &quot;^3.3.3&quot;,
      &quot;yargs-parser&quot;: &quot;^18.1.3&quot;,
      &quot;y18n&quot;: &quot;^4.0.0&quot;,
      &quot;yeast&quot;: &quot;^0.1.2&quot;,
      &quot;lodash&quot;: &quot;^4.17.20&quot;,
      &quot;xmlhttprequest-ssl&quot;: &quot;^1.5.5&quot;,
      &quot;moment&quot;: &quot;^2.29.1&quot;,
      &quot;yargs&quot;: &quot;^15.4.1&quot;
    },
    &quot;scripts&quot;: {
      &quot;dev&quot; : &quot;lite-server&quot;,
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
    },
    &quot;repository&quot;: {
      &quot;type&quot;: &quot;git&quot;,
      &quot;url&quot;: &quot;git+https://Spifet@bitbucket.org/Spifet/guia-hoteles.git&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;homepage&quot;: &quot;https://bitbucket.org/Spifet/guia-hoteles&quot;
    &quot;description&quot;: &quot;&quot;
  }
  </code></pre>
  <p>Could anyone please tell me how to fix it?</p>
  <p>Thanks in advance!</p>