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
Node.js version support #571
Comments
Given the Travis configuration and package.json, the lowest compatible version of Node is 8. |
Following of symfony#571, it can be nice to have a badge that shows the lowest supported version of Node. Under the hood, it uses `engines.node` from [`package.json`](https://github.com/symfony/webpack-encore/blob/master/package.json#L24)
I'd consider the current version a stable release, but if you're talking about That being said I think we'll always try to support at least the active LTS versions. Another solution to your issue could be to do your build before deploying on your server (which won't even need Node.js at all). |
Thanks for your comments (building locally was my final solution) and answer about 6.x future. |
if you get an error while running |
In this case yes, but yarn follows |
Short. What's lowest node.js version expected to be supported (in webpack encore's stable release)?
Long.
I've tried to install webpack on Shared Hosting with CloudLinux (a) and on VPS hosting with CentOS 7 (b). Both have problems with
yarn install
when using Node.js > 6.x ("Unhandled rejection TypeError: child.send is not a function" and "An unexpected error occurred: "EMFILE: too many open files, copyfile...").Finally I've solved my problem: the only node version that can correctly make
yarn install
is 6.. But to use it, I need @symfony/webpack-encore ^0.24.0 - because 0.27 needs Node.js 8.0+. So I expect in future releases I will lost this option (after 1.0 would be released, it's not a good solution to use 0. versions I think). Am I right?The text was updated successfully, but these errors were encountered: