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

less-middleware 2 #13

Closed
colby-swandale opened this issue Mar 25, 2014 · 2 comments
Closed

less-middleware 2 #13

colby-swandale opened this issue Mar 25, 2014 · 2 comments

Comments

@colby-swandale
Copy link

the guys over at https://github.com/emberfeather/less.js-middleware have published version 2 of less-middleware which appears to not be compatible with express stable.

/Users/colby/Desktop/honeybird/node_modules/less-middleware/lib/middleware.js:50
    throw new Error('Please update your less-middleware usage: http://goo.gl/Y
          ^
Error: Please update your less-middleware usage: http://goo.gl/YnK8p0
    at module.exports.less.middleware (/Users/colby/Desktop/honeybird/node_modules/less-middleware/lib/middleware.js:50:11)
    at Object.<anonymous> (/Users/colby/Desktop/honeybird/app.js:21:35)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3
@defunctzombie
Copy link
Contributor

Iirc the generator pins the version of express used so this is not an issue. If it doesn't pin, then that is the real issue. A separate issue is whether to upgrade to version 2 in the generator.

@colby-swandale
Copy link
Author

i just generated a new express app with less and pacage.json it's just grabbing whatever it fancies which is version 2, maybe want to change it to "less-middleware": "1.*"?

{
  "name": "application-name",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node app.js"
  },
  "dependencies": {
    "express": "3.5.0",
    "jade": "*",
    "less-middleware": "*"
  }

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

2 participants