Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 500 after loggin in with Trello - cant compile css #15

Open
rollsappletree opened this issue Mar 19, 2015 · 3 comments
Open

Error 500 after loggin in with Trello - cant compile css #15

rollsappletree opened this issue Mar 19, 2015 · 3 comments

Comments

@rollsappletree
Copy link

on the browser i have "error" printed on screen and from developer tools i see it return a error 500.

From the cmd instead i have:

making recursive /root/trello-calendar/builtAssets/css
TypeError: /root/trello-calendar/lib/views/layout.jade:8
    6|     meta(name="viewport", content="width=device-width, initial-scale=1.0")
    7|     meta(name="apple-mobile-web-app-capable", content="yes")
  > 8|     != css('base')
    9|     link(rel="icon", type="image/png", href="favicon.png")
    10|     link(rel="apple-touch-icon", sizes="57x57", href="img/apple-touch-icon-57x57.png")
    11|     link(rel="apple-touch-icon", sizes="114x114", href="img/apple-touch-icon-114x114.png")

undefined is not a function

  at mkdirRecursive (/root/trello-calendar/node_modules/connect-assets/lib/assets.js:566:14)
  at ConnectAssets.compileCSS (/root/trello-calendar/node_modules/connect-assets    /lib/assets.js:305:15)
  at context.css (/root/trello-calendar/node_modules/connect-assets/lib/assets.js:119:51)
  at eval (<anonymous>:37:15)
  at Object.<anonymous> (/root/trello-calendar/node_modules/jade/lib/jade.js:165:12)
  at ServerResponse.res._render (/root/trello-calendar/node_modules/express/lib/view.js:425:21)
  at ServerResponse.res.render (/root/trello-calendar/node_modules/express/lib/view.js:318:17)
  at ServerResponse.res._render (/root/trello-calendar/node_modules/express/lib/view.js:432:10)
  at ServerResponse.res.render (/root/trello-calendar/node_modules/express/lib/view.js:318:17)
  at /root/trello-calendar/lib/app.js:29:17
  at callbacks (/root/trello-calendar/node_modules/express/lib/router/index.js:272:11)
  at param (/root/trello-calendar/node_modules/express/lib/router/index.js:246:11)
  at pass (/root/trello-calendar/node_modules/express/lib/router/index.js:253:5)
  at Router._dispatch (/root/trello-calendar/node_modules/express/lib/router/index.js:280:5)
  at Object.Router.middleware [as handle] (/root/trello-calendar/node_modules/express/lib/router    /index.js:45:10)
  at next (/root/trello-calendar/node_modules/express/node_modules/connect/lib/http.js:204:15)
  at /root/trello-calendar/node_modules/connect-assets/node_modules/connect-file-cache            /lib/cache.js:46:18
  at ConnectFileCache.loadFile (/root/trello-calendar/node_modules/connect-assets/node_modules/connect-file-cache/lib/cache.js:54:37)
  at ConnectFileCache.middleware (/root/trello-calendar/node_modules/connect-assets/node_modules/connect-file-cache/lib/cache.js:40:19)
  at Object.handle (/root/trello-calendar/node_modules/connect-assets/node_modules/connect-file-cache/lib/cache.js:3:63)
  at next (/root/trello-calendar/node_modules/express/node_modules/connect/lib/http.js:204:15)
  at /root/trello-calendar/node_modules/express/node_modules/connect/lib/middleware/static.js:150:11
  at FSReqWrap.oncomplete (fs.js:99:15)

do i need to install some tool to compile css like scss or less?

@rollsappletree rollsappletree changed the title Error 500 after loggin in with Trello Error 500 after loggin in with Trello - cant compile css Mar 19, 2015
@towfiq
Copy link

towfiq commented Apr 16, 2015

Try running npm build first -- I was having the same problem and then that worked for me.

@mfissehaye
Copy link

Same problem. Running npm build doesn't seem to solve the problem

@CanKattwinkel
Copy link

Since the hosted Version is offline and this calendar does not seem to be further developed,

you might want to try our trello calendar (hosted version) + git repository

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

No branches or pull requests

4 participants