Skip to content

Error: 500 TypeError: opt.expires.toUTCString is not a function #45

@luchobenitez

Description

@luchobenitez

I got this error with my first run

$ gulp
[14:31:33] Using gulpfile ~/labs/skeleton/gulpfile.js
[14:31:33] Starting 'build'...
[14:31:33] Starting 'clean'...
[14:31:33] Finished 'clean' after 20 ms
[14:31:33] Starting 'lint'...
[14:31:33] Starting 'jscs'...
[14:31:35] Finished 'lint' after 2.29 s
[14:31:35] Finished 'jscs' after 2.13 s
[14:31:35] Starting 'styles'...
[14:31:36] Starting 'scripts'...
[14:31:36] Starting 'images'...
[14:31:41] JS: all files 15.69 kB
[14:31:41] Finished 'scripts' after 5.4 s
[14:31:41] gulp-imagemin: Minified 0 images
[14:31:41] Finished 'images' after 5.34 s
[14:31:42]
[14:31:42] CSS: all files 139.7 kB
[14:31:42] Finished 'styles' after 6.77 s
[14:31:42] Finished 'build' after 9.1 s
[14:31:42] Starting 'nodemon'...
[14:31:42] [nodemon] 1.8.1
[14:31:42] [nodemon] to restart at any time, enter rs
[14:31:42] [nodemon] watching: .
[14:31:42] [nodemon] starting node app.js
skeleton Mongodb connected! +0ms
skeleton listening on port 3000 +8ms
skeleton listening in development mode. +1ms
skeleton Ctrl+C to shut down. ;) +0ms
[14:31:45] Finished 'nodemon' after 3.13 s
[14:31:45] Starting 'open'...
[14:31:45] Finished 'open' after 12 ms
[14:31:45] Starting 'default'...
[14:31:45] Finished 'default' after 40 ms
[14:31:45] Opening http://localhost:3000 using the app google chrome
skeleton Error: 500 TypeError: opt.expires.toUTCString is not a function +4s
GET / 500 991.823 ms - -
GET /css/main.min.css 200 7.000 ms - -
GET /lib/animate.css/animate.css 200 2.360 ms - -
GET /favicon.png 200 2.359 ms - 2965
GET /img/Octocat.png 200 3.084 ms - 33874
GET /lib/odometer/themes/odometer-theme-minimal.css 200 1.403 ms - -
GET /js/Skeleton.min.js 200 1.268 ms - -
GET /lib/odometer/odometer.min.js 200 1.304 ms - -
skeleton 403 Not Allowed. URL: /report-violation Err: ForbiddenError: invalid csrf token +576ms
skeleton Error: 500 TypeError: opt.expires.toUTCString is not a function +204ms
POST /report-violation 500 374.434 ms - -
skeleton Error: 500 TypeError: opt.expires.toUTCString is not a function +6s
GET /terms 500 372.185 ms - -
GET /css/main.min.css 200 1.604 ms - -
GET /favicon.png 200 0.593 ms - 2965
GET /js/Skeleton.min.js 200 3.546 ms - -
skeleton 403 Not Allowed. URL: /report-violation Err: ForbiddenError: invalid csrf token +408ms
skeleton Error: 500 TypeError: opt.expires.toUTCString is not a function +93ms
POST /report-violation 500 179.214 ms - -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions