Note that there are some explanatory texts on larger screens.

plurals
  1. PONode js express.compiler error
    text
    copied!<p>I am currently working on an express.js Webapp, Im working off the boilerplate app that comes with MS Webmatrix. I am able to run the app on my computer but when i push to nodejitsu or use another computer from which i got the app from git i get an error preventing server start.</p> <pre><code>app.use(express.compiler({ src: __dirname + '/public', enable: ['less'] }) ^ TypeError: Object function createApplication() { var app = connect(); utils.merge(app, proto); app.request = { __proto__: req }; app.response = { __proto__: res }; app.init(); return app; } has no method 'compiler' at Function.&lt;anonymous&gt; (C:\Users\hoopdog2\Desktop\afterthoughts_nodejs\serv er.js:197:21) at Function.app.configure (C:\Users\hoopdog2\Desktop\afterthoughts_nodejs\no de_modules\express\lib\application.js:399:61) at Object.&lt;anonymous&gt; (C:\Users\hoopdog2\Desktop\afterthoughts_nodejs\server .js:188:5) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10) at process.startup.processNextTick.process._tickCallback (node.js:244:9) </code></pre> <p>The dependencies that that app uses are </p> <pre><code>"node-uuid": "&gt;= 1.3.3", "everyauth": "&gt;= 0.2.29", "nconf": "&gt;= 0.5.1", "express": "&gt;= 2.5.0", "jade": "&gt;= 0.18.0", "less": "&gt;= 1.1.5", "socket.io": "&gt;= 0.8.7", "connect": "&gt;=1.8.5", "recaptcha": "&gt;=1.1.0" </code></pre> <p>And i am using node version 0.8.7. Any suggestions to what might be causing this error is greatly appreciated</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload