You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add coffeescript to the package.jsonpeerDependencies section, so that users can use the latest version of the CoffeeScript compiler without needing to open issues or PRs with this repo.
CoffeeScript 2.x requires Node 6+ for the compiler itself to run. (Node 7.6+ is required to use async functions, but the compiler itself doesn’t use them so the compiler can compile files in Node 6 or higher.) Assuming you add a peer dependency for CoffeeScript 2+, or just *, it would make sense to update your package.jsonengines section to require Node 6+.
Along those lines, it would be good to actually check that you’re in a Node 6+ environment, ideally by feature-detection the way CoffeeScript itself does here. That would avoid errors like this one, where the problem is really that the version of Node is too old, rather than a bug in CoffeeScript.
The text was updated successfully, but these errors were encountered:
Please add
coffeescript
to thepackage.json
peerDependencies
section, so that users can use the latest version of the CoffeeScript compiler without needing to open issues or PRs with this repo.CoffeeScript 2.x requires Node 6+ for the compiler itself to run. (Node 7.6+ is required to use async functions, but the compiler itself doesn’t use them so the compiler can compile files in Node 6 or higher.) Assuming you add a peer dependency for CoffeeScript 2+, or just
*
, it would make sense to update yourpackage.json
engines
section to require Node 6+.Along those lines, it would be good to actually check that you’re in a Node 6+ environment, ideally by feature-detection the way CoffeeScript itself does here. That would avoid errors like this one, where the problem is really that the version of Node is too old, rather than a bug in CoffeeScript.
The text was updated successfully, but these errors were encountered: