Skip to content

Instantly share code, notes, and snippets.

everyauth.helpExpress is being deprecated. helpExpress is now automatically invoked when it detects express. So remove everyauth.helpExpress from your code
Matisse server listening on port 8000 in development mode
[root@elk-stack matisse]# cat /root/matisse/views/layout.jade
doctype
html
head
link(rel='stylesheet', href='/stylesheets/style.css')
Express
500 Error: /root/matisse/views/layout.jade:18 16| 17| var _gaq = _gaq || []; > 18| _gaq.push(['_setAccount', 'UA-7516685-6']); 19| _gaq.push(['_trackPageview']); 20| 21| (function() { unexpected text ;
16|
17| var _gaq = _gaq || [];
> 18| _gaq.push(['_setAccount', 'UA-7516685-6']);
19| _gaq.push(['_trackPageview']);
20|
21| (function() {
Express
500 Unexpected token: keyword (if) (line: 465, col: 5, pos: 21374) Error at new JS_Parse_Error (/root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:189:18) at js_error (/root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:197:11) at croak (/root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:656:9) at token_error (/root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:664:9) at unexpected (/root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:670:9) at /root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:830:17 at /root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:703:24 at block_ (/root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:977:20) at /root/matisse/node_modules/jade/node_modules/with/node_modules/uglify-js/lib/parse.js:744:29 at /r
cat /root/matisse/views/layout.jade
doctype
html
head
link(rel='stylesheet', href='/stylesheets/style.css')
link(rel='stylesheet', href='/stylesheets/thirdparty/bootstrap/bootstrap.css')
link(rel='icon', href='/images/icon_16.png', type='image/png', sizes='16x16')
link(rel='icon', href='/images/icon_32.png', type='image/png', sizes='32x32')
link(rel='icon', href='/images/icon_64.png', type='image/png', sizes='64x64')
link(rel='icon', href='/images/icon_128.png', type='image/png', sizes='128x128')
<antons_> npm show jade
<antons_> npm http GET https://registry.npmjs.org/jade
<antons_> npm ERR! Error: failed to fetch from registry: jade
<antons_> npm ERR! at /root/.nvm/v0.6.9/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:139:12
<antons_> npm ERR! at cb (/root/.nvm/v0.6.9/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:32:9)
<antons_> npm ERR! at Request._callback (/root/.nvm/v0.6.9/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:137:18)
<antons_> npm ERR! at Request.callback (/root/.nvm/v0.6.9/lib/node_modules/npm/node_modules/request/main.js:109:22)
<antons_> npm ERR! at Request.<anonymous> (/root/.nvm/v0.6.9/lib/node_modules/npm/node_modules/request/main.js:198:58)
<antons_> npm ERR! at Request.emit (events.js:88:20)
<antons_> npm ERR! at ClientRequest.<anonymous> (/root/.nvm/v0.6.9/lib/node_modules/npm/node_modules/request/main.js:356:14)
npm http GET https://registry.npmjs.org/jade/0.0.2
npm ERR! Error: failed to fetch from registry: jade/0.0.2
npm ERR! at /root/.nvm/v0.6.9/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/root/.nvm/v0.6.9/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:32:9)
npm ERR! at Request._callback (/root/.nvm/v0.6.9/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:137:18)
npm ERR! at Request.callback (/root/.nvm/v0.6.9/lib/node_modules/npm/node_modules/request/main.js:109:22)
npm ERR! at Request.<anonymous> (/root/.nvm/v0.6.9/lib/node_modules/npm/node_modules/request/main.js:198:58)
npm ERR! at Request.emit (events.js:88:20)
npm ERR! at ClientRequest.<anonymous> (/root/.nvm/v0.6.9/lib/node_modules/npm/node_modules/request/main.js:356:14)
Express
500 TypeError: undefined is not a function
at Function.exports.compile (/root/matisse/node_modules/express/lib/view.js:65:33)
at ServerResponse.res._render (/root/matisse/node_modules/express/lib/view.js:414:18)
at ServerResponse.res.render (/root/matisse/node_modules/express/lib/view.js:315:17)
at renderLogin (/root/matisse/routes/index.js:7:9)
at EventEmitter. (/root/matisse/routes/index.js:114:9)
at EventEmitter.emit (events.js:107:17)