meteor / meteor-feature-requests

A tracker for Meteor issues that are requests for new functionality, not bugs.
Other
89 stars 3 forks source link

Update Meteor to Node.js 14 #402

Closed fpreti closed 3 years ago

fpreti commented 4 years ago

Hi, are you planning to migrate to node 14? https://nodejs.org/en/about/releases/ Active LTS Start 2020-10-20

thanks, Francesco

filipenevola commented 4 years ago

Sure, we always want to be up-to-date with Node.js

StorytellerCZ commented 3 years ago

I think this is something that can be tackled during Hacktoberfest. From what I have seen there are two main issues to address for the update:

Kampflaus commented 3 years ago

Hi there,

what is the current status of Node.js 14 in Meteor?

filipenevola commented 3 years ago

We already have a branch with Node.js 14 but we are prioritizing first Meteor 2.0 with HMR and Tree-shaking + Meteor cloud with free deploy with MongoDB on Galaxy 😉

Kampflaus commented 3 years ago

Thanks for your feedback!

We bundle with nexe so we need to switch to Node.js 14 soon because unfortunately the build system from Nexe isn't working with >12.18.2. The new target will be 14.x.

filipenevola commented 3 years ago

@Kampflaus we had a problem with Windows build but I don't think it's related to Node.js 14 specifically.

Do you use Meteor on Windows? It would be good to have someone testing Meteor + Node.js 14 even before we fix this issue on Windows build.

Let me know if you would be interested in running your app with Meteor beta and Node.js 14.

Kampflaus commented 3 years ago

@filipenevola Yes, our app runs on Windows and Linux. We could try out the beta.

filipenevola commented 3 years ago

We have the Windows build already working.

But a few tests are still failing on CI (not on my machine) https://github.com/meteor/meteor/pull/11197

We are probably going to have a beta version including Node 14 on Meteor 2.1 soon.

damienfa commented 3 years ago

Any news about Meteor for NodeJs 14?

filipenevola commented 3 years ago

Yes, all the testing are passing on my machine, we are investigating at this moment why they are failing on CircleCI.

See the current status in the PR description https://github.com/meteor/meteor/pull/11197

I'm also doing some tests in this branch circle-ci-error-node-14, to try to identify why CircleCI is failing.

Kampflaus commented 3 years ago

Thanks for your feedback!

We bundle with nexe so we need to switch to Node.js 14 soon because unfortunately the build system from Nexe isn't working with >12.18.2. The new target will be 14.x.

Good news thanks to the latest Meteor release. Node version 12.21.0 seems to fix the existing problems since 12.18.2. We could successfully build our app with Meteor 2.1 and Nexe.

Nevertheless we are looking forward to Node 14. Thanks for your efforts.

StorytellerCZ commented 3 years ago

Meteor 2.3 is now in beta, so I'm closing this issue.