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
Problem with generator and less #6
Comments
looks fine to me https://github.com/emberfeather/less.js-middleware |
Yes but in the new version, 2.0 in beta state, the constructor it will change, and that problem will happen because with npm install, you get the 2.0 version not the 0.1. So it will fail eventually. |
In the new generator code I am pinning module versions to avoid this. It will not be a problem going forward. |
wait i don't see any pending changes for v2. we should pin it to 1.x.x anyways. |
Im talking about version 0.2.0-beta, https://github.com/emberfeather/less.js-middleware/blob/rewrite/readme.md |
that's not even out yet, so i'm not sure what the problem is. changing it now would break new apps. once it's out, we can update the API and pin to |
I think the issue is that they published it to npm as the |
ah ok. we just need a release then |
Latest express-generator package fixes this by pinning the version better |
Hi, I have found a problem when I run the Express command with the --css less option, in the app.js:
It should be (options is an object):
Because the middleware take the first parameter as the source, and the second as the object with the options. I know because I got an error with path.js, and it was because the source wasn't a string.
The text was updated successfully, but these errors were encountered: