-
Notifications
You must be signed in to change notification settings - Fork 182
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
Update Expressjs dependency to 4.x #628
Comments
same here. |
+1 |
/cc @xgenvn @zxqfox @xpepermint |
Maintainer don't mind unless you didn't break everything ;) But as far as I On 9 July 2014 19:44, Alex Baumgertner [email protected] wrote:
|
@alexbaumgertner sure, let's do it. |
@alexbaumgertner Alex, I have 2 days to work on it. Can you share your work if you started already? |
I have weekends to work for it. But I am not very familiar with expressjs and compoundjs, am learning these at the time. |
+1 |
I have migrated a few different internal services to 4.x. I found this article very helpful: http://strongloop.com/strongblog/express-3-to-4-migration-guide/ |
For those interested I have an updated version that so far seems to be working fine with express 4. It's at https://github.com/jfremy/compound/tree/express4. NOTE: if you use ejs, know that ejs 2.0 seems to be breaking with compound. So in your package.json, set it to use ejs 1.0. To test on an existing application:
To test on a new app:
If there is not negative feedback, I'll submit a pull request |
Yeah ejs 2.0 is bringing down the whole shabang. I just found that out after hours and hours of poking around. Any idea why? |
also the npm npm can't be upgraded to 2.1.X Any ideas? |
one other thing, there is an issue with cached js/css |
My express 4 branch has a fix for compound or you can check my pull request to compound that contains only the fix. The issue is that render was calling next in the wrong place. In the case of synchronous operations in the template engine, it worked ok, but now that ejs has introduced some level of asynchrony, it failed. |
sorry for the delay but cached js/css bugfix is in |
I have a question about compoundjs that will maintainers consider upgrading to expressjs 4.x on roadmap?
I'm looking for fresh framework which is using expressjs 4.x but seems most of them stay using 3.x.
Thank you.
The text was updated successfully, but these errors were encountered: