Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Unexpected end of input #4

Open
GrzegorzZajac000 opened this issue Jul 10, 2015 · 0 comments
Open

Unexpected end of input #4

GrzegorzZajac000 opened this issue Jul 10, 2015 · 0 comments

Comments

@GrzegorzZajac000
Copy link

When I run: "sudo npm run serve" i got this:

grzesieq94@grzesieq94 /v/w/offline-wikipedia> sudo npm run serve
[sudo] password for grzesieq94: 

> offline-wikipedia@ serve /var/www/offline-wikipedia
> gulp serve

[15:18:50] Using gulpfile /var/www/offline-wikipedia/gulpfile.js
[15:18:50] Starting 'serve'...
[15:18:50] Starting 'clean'...
[15:18:51] Finished 'serve' after 298 ms
[15:18:51] Finished 'clean' after 412 ms
[15:18:51] Starting 'css'...
[15:18:51] Starting 'misc'...
[15:18:51] Starting 'html'...
[15:18:51] Starting 'js'...
[15:18:52] Starting 'server:package'...
[15:18:52] Starting 'server:misc'...
[15:18:52] Starting 'server:js'...
[15:18:56] Starting 'server:sharedtemplates'...
[15:18:58] Starting 'server:templates'...
[15:18:59] Finished 'html' after 7.06 s
[15:19:03] Finished 'server:sharedtemplates' after 6.44 s
[15:19:03] Finished 'server:package' after 11 s
^[[1;5C^[[1;5C^[[1;5D[15:19:13] Finished 'server:misc' after 21 s
[15:19:13] Finished 'misc' after 22 s
[15:19:13] Finished 'server:templates' after 15 s
[15:19:21] Finished 'server:js' after 30 s
[15:19:31] Finished 'css' after 40 s
[15:19:53] Finished 'js' after 1.02 min
[15:19:53] Starting 'server:serve'...
[15:19:54] Finished 'server:serve' after 907 ms
[15:19:54] Starting 'watch'...
[15:19:55] Finished 'watch' after 1.1 s
[15:19:55] Development server listening. (PID:27759)
module.js:489
    throw err;
          ^
SyntaxError: /var/www/offline-wikipedia/dist/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/db.json: Unexpected end of input
    at Object.parse (native)
    at Object.Module._extensions..json (module.js:486:27)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/var/www/offline-wikipedia/dist/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/index.js:11:18)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)

npm -v: 2.11.3
node -v: v0.12.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant